public interface TemporalExpression extends ComparableExpression<org.threeten.extra.Interval>
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<SimpleDateFormat[]> |
SUPPORTED_DATE_FORMATS |
| Modifier and Type | Method and Description |
|---|---|
default Predicate |
contains(Object other)
Create a predicate that tests to see if this expression contains the provided object.
|
default Predicate |
isAfter(Object other)
Create a predicate that tests to see if this expression is after the provided object.
|
default Predicate |
isBefore(Object other)
Create a predicate that tests to see if this expression is before to the provided object.
|
default Predicate |
isBeforeOrDuring(Object other)
Create a predicate that tests to see if this expression is before or during to the provided
object.
|
default Predicate |
isBetween(Object lowerBound,
Object upperBound)
Create a predicate that tests to see if this expression is between the provided lower and upper
bounds.
|
default Predicate |
isDuring(Object other)
Create a predicate that tests to see if this expression is during to the provided object.
|
default Predicate |
isDuringOrAfter(Object other)
Create a predicate that tests to see if this expression is during or after to the provided
object.
|
default Predicate |
isEqualTo(Object other)
Create a predicate that tests to see if this expression is equal to the provided object.
|
default Predicate |
isGreaterThan(Object other)
Create a predicate that tests to see if this expression is greater than (after) the provided
object.
|
default Predicate |
isGreaterThanOrEqualTo(Object other)
Create a predicate that tests to see if this expression is greater than or equal to (during or
after) the provided object.
|
default Predicate |
isLessThan(Object other)
Create a predicate that tests to see if this expression is less than (before) the provided
object.
|
default Predicate |
isLessThanOrEqualTo(Object other)
Create a predicate that tests to see if this expression is less than or equal to (before or
during) the provided object.
|
default Predicate |
isNotEqualTo(Object other)
Create a predicate that tests to see if this expression is not equal to the provided object.
|
default Predicate |
overlaps(Object other)
Create a predicate that tests to see if this expression overlaps the provided object.
|
static Date |
stringToDate(String dateStr) |
static org.threeten.extra.Interval |
stringToInterval(String intervalStr) |
static TemporalExpression |
toTemporalExpression(Object obj)
Convert the given object into a temporal expression, if it is not already one.
|
addReferencedFields, evaluateValue, evaluateValue, isLiteral, isNotNull, isNullfromBinary, toBinarystatic final ThreadLocal<SimpleDateFormat[]> SUPPORTED_DATE_FORMATS
default Predicate isEqualTo(Object other)
isEqualTo in interface Expression<org.threeten.extra.Interval>other - the temporal object to test againstdefault Predicate isNotEqualTo(Object other)
isNotEqualTo in interface Expression<org.threeten.extra.Interval>other - the temporal object to test againstdefault Predicate isLessThan(Object other)
isLessThan in interface ComparableExpression<org.threeten.extra.Interval>other - the temporal object to test againstdefault Predicate isLessThanOrEqualTo(Object other)
isLessThanOrEqualTo in interface ComparableExpression<org.threeten.extra.Interval>other - the temporal object to test againstdefault Predicate isGreaterThan(Object other)
isGreaterThan in interface ComparableExpression<org.threeten.extra.Interval>other - the temporal object to test againstdefault Predicate isGreaterThanOrEqualTo(Object other)
isGreaterThanOrEqualTo in interface ComparableExpression<org.threeten.extra.Interval>other - the temporal object to test againstdefault Predicate isBetween(Object lowerBound, Object upperBound)
isBetween in interface ComparableExpression<org.threeten.extra.Interval>lowerBound - the lower bound to test againstupperBound - the upper bound to test againstdefault Predicate isAfter(Object other)
other - the temporal object to test againstdefault Predicate isDuringOrAfter(Object other)
other - the temporal object to test againstdefault Predicate isBefore(Object other)
other - the temporal object to test againstdefault Predicate isBeforeOrDuring(Object other)
other - the temporal object to test againstdefault Predicate isDuring(Object other)
other - the temporal object to test againstdefault Predicate contains(Object other)
other - the temporal object to test againstdefault Predicate overlaps(Object other)
other - the temporal object to test againststatic TemporalExpression toTemporalExpression(Object obj)
obj - the object to convertstatic org.threeten.extra.Interval stringToInterval(String intervalStr)
Copyright © 2013–2021. All rights reserved.