T
- Generic type that the FilterDelegate will return as a final resultpublic abstract class FilterDelegate<T> extends Object
FilterAdapter
. The FilterAdapter will
visit a Filter
and call the corresponding delegate methods after type
conversion and input normalization.
Not all org.opengis.filter.Filter and Expression
types
are supported by the delegate. FilterAdapter and FilterDelegate would need to be extended to
support other org.opengis.filter.Filter and org.opengis.filter.expression.Expression types.
Alternatively, other types could be supported by implementing the FilterVisitor
directly.
A reference implementation is provided with the DDF Core in the org.opengis.filter.Filter Proxy bundle.
FilterAdapter
Modifier and Type | Field and Description |
---|---|
static String |
ESCAPE_CHAR
Normalized escape character used to escape the meaning of the wildCard, singleChar, and the
escapeChar itself
|
static String |
SINGLE_CHAR
Normalized single wildcard character used to match exactly one character
|
static String |
WILDCARD_CHAR
Normalized wildcard character used to match zero or more characters.
|
Constructor and Description |
---|
FilterDelegate() |
Modifier and Type | Method and Description |
---|---|
T |
after(String propertyName,
Date date)
Compares the value associated with a property is after a given
Date . |
T |
and(List<T> operands)
Logical "and" operation on a list of operands.
|
T |
before(String propertyName,
Date date)
Compares the value associated with a property is before a given
Date .This is an
exclusive comparison. |
T |
begins(String propertyName,
Date startDate,
Date endDate)
Compares the value associated with the property by checking if it is start at the start date
and ends some time before the endDate
|
T |
beyond(String propertyName,
String wkt,
double distance)
Compares the geometry associated with a property is beyond a distance from a WKT geometry.
|
T |
contains(String propertyName,
String wkt)
Compares the geometry associated with a property is contained by a WKT geometry.
|
T |
crosses(String propertyName,
String wkt)
Compares the geometry associated with a property crosses a WKT geometry.
|
T |
disjoint(String propertyName,
String wkt)
Compares the geometry associated with a property is disjoint from a WKT geometry.
|
T |
during(String propertyName,
Date startDate,
Date endDate)
Compares the value associated with a property is between a start and end date.
|
T |
dwithin(String propertyName,
String wkt,
double distance)
Compares the geometry associated with a property is within a distance from a WKT geometry.
|
T |
exclude()
Include filter is equivalent to filter all or logically
false . |
T |
include()
Include filter is equivalent to no filtering or logically
true . |
T |
intersects(String propertyName,
String wkt)
Compares the geometry associated with a property intersects a WKT geometry.
|
T |
nearestNeighbor(String propertyName,
String wkt)
Returns a sorted list of the nearest neighbors to a property for a given WKT.
|
T |
not(T operand)
Logical "not" operation on an operand.
|
T |
or(List<T> operands)
Logical "or" operation on a list of operands.
|
T |
overlaps(String propertyName,
String wkt)
Compares the geometry associated with a property overlaps a WKT geometry.
|
T |
propertyIsBetween(String propertyName,
Date lowerBoundary,
Date upperBoundary)
|
T |
propertyIsBetween(String propertyName,
double lowerBoundary,
double upperBoundary)
|
T |
propertyIsBetween(String propertyName,
float lowerBoundary,
float upperBoundary)
|
T |
propertyIsBetween(String propertyName,
int lowerBoundary,
int upperBoundary)
|
T |
propertyIsBetween(String propertyName,
long lowerBoundary,
long upperBoundary)
|
T |
propertyIsBetween(String propertyName,
Object lowerBoundary,
Object upperBoundary)
Compares the value associated with a property is between a lower and upper boundary.
|
T |
propertyIsBetween(String propertyName,
short lowerBoundary,
short upperBoundary)
|
T |
propertyIsBetween(String propertyName,
String lowerBoundary,
String upperBoundary)
|
T |
propertyIsEqualTo(String propertyName,
boolean literal)
|
T |
propertyIsEqualTo(String propertyName,
byte[] literal)
|
T |
propertyIsEqualTo(String propertyName,
Date literal)
|
T |
propertyIsEqualTo(String propertyName,
Date startDate,
Date endDate)
|
T |
propertyIsEqualTo(String propertyName,
double literal)
|
T |
propertyIsEqualTo(String propertyName,
float literal)
|
T |
propertyIsEqualTo(String propertyName,
int literal)
|
T |
propertyIsEqualTo(String functionName,
List<Object> arguments,
Object literal)
Compares the function return value is equal to the value of a literal.
|
T |
propertyIsEqualTo(String propertyName,
long literal)
|
T |
propertyIsEqualTo(String propertyName,
Object literal)
Compares the value associated with a property is equal to the value of a literal.
|
T |
propertyIsEqualTo(String propertyName,
short literal)
|
T |
propertyIsEqualTo(String propertyName,
String literal,
boolean isCaseSensitive)
|
T |
propertyIsFuzzy(String propertyName,
String literal)
Compares the value associated with a property to the value of a literal with a fuzzy operator
which expands the literal to match misspellings.
|
T |
propertyIsGreaterThan(String propertyName,
Date literal)
|
T |
propertyIsGreaterThan(String propertyName,
double literal)
|
T |
propertyIsGreaterThan(String propertyName,
float literal)
|
T |
propertyIsGreaterThan(String propertyName,
int literal)
|
T |
propertyIsGreaterThan(String propertyName,
long literal)
|
T |
propertyIsGreaterThan(String propertyName,
Object literal)
Compares the value associated with a property is greater than the value of a literal.
|
T |
propertyIsGreaterThan(String propertyName,
short literal)
|
T |
propertyIsGreaterThan(String propertyName,
String literal)
|
T |
propertyIsGreaterThanOrEqualTo(String propertyName,
Date literal)
|
T |
propertyIsGreaterThanOrEqualTo(String propertyName,
double literal)
|
T |
propertyIsGreaterThanOrEqualTo(String propertyName,
float literal)
|
T |
propertyIsGreaterThanOrEqualTo(String propertyName,
int literal)
|
T |
propertyIsGreaterThanOrEqualTo(String propertyName,
long literal)
|
T |
propertyIsGreaterThanOrEqualTo(String propertyName,
Object literal)
Compares the value associated with a property is greater than or equal to the value of a
literal.
|
T |
propertyIsGreaterThanOrEqualTo(String propertyName,
short literal)
|
T |
propertyIsGreaterThanOrEqualTo(String propertyName,
String literal)
|
T |
propertyIsLessThan(String propertyName,
Date literal)
|
T |
propertyIsLessThan(String propertyName,
double literal)
|
T |
propertyIsLessThan(String propertyName,
float literal)
|
T |
propertyIsLessThan(String propertyName,
int literal)
|
T |
propertyIsLessThan(String propertyName,
long literal)
|
T |
propertyIsLessThan(String propertyName,
Object literal)
Compares the value associated with a property is less than the value of a literal.
|
T |
propertyIsLessThan(String propertyName,
short literal)
|
T |
propertyIsLessThan(String propertyName,
String literal)
|
T |
propertyIsLessThanOrEqualTo(String propertyName,
Date literal)
|
T |
propertyIsLessThanOrEqualTo(String propertyName,
double literal)
|
T |
propertyIsLessThanOrEqualTo(String propertyName,
float literal)
|
T |
propertyIsLessThanOrEqualTo(String propertyName,
int literal)
|
T |
propertyIsLessThanOrEqualTo(String propertyName,
long literal)
|
T |
propertyIsLessThanOrEqualTo(String propertyName,
Object literal)
Compares the value associated with a property is less than or equal to the value of a literal.
|
T |
propertyIsLessThanOrEqualTo(String propertyName,
short literal)
|
T |
propertyIsLessThanOrEqualTo(String propertyName,
String literal)
|
T |
propertyIsLike(String propertyName,
String pattern,
boolean isCaseSensitive)
Compares the value associated with a property to a regular expression pattern.
|
T |
propertyIsNotEqualTo(String propertyName,
boolean literal)
|
T |
propertyIsNotEqualTo(String propertyName,
byte[] literal)
|
T |
propertyIsNotEqualTo(String propertyName,
Date literal)
|
T |
propertyIsNotEqualTo(String propertyName,
Date startDate,
Date endDate)
|
T |
propertyIsNotEqualTo(String propertyName,
double literal)
|
T |
propertyIsNotEqualTo(String propertyName,
float literal)
|
T |
propertyIsNotEqualTo(String propertyName,
int literal)
|
T |
propertyIsNotEqualTo(String propertyName,
long literal)
|
T |
propertyIsNotEqualTo(String propertyName,
Object literal)
Compares the value associated with a property is not equal to the value of a literal.
|
T |
propertyIsNotEqualTo(String propertyName,
short literal)
|
T |
propertyIsNotEqualTo(String propertyName,
String literal,
boolean isCaseSensitive)
|
T |
propertyIsNull(String propertyName)
Compares the value associated with a property is equal to
null . |
T |
relative(String propertyName,
long duration)
Compares the value associated with a property is relatively within a duration of milliseconds
in the past from the current time of evaluation.
|
T |
touches(String propertyName,
String wkt)
Compares the geometry associated with a property touches a WKT geometry.
|
T |
within(String propertyName,
String wkt)
Compares the geometry associated with a property is within a WKT geometry.
|
T |
xpathExists(String xpath)
Determines if a node expressed by XPath exists.
|
T |
xpathIsFuzzy(String xpath,
String literal)
Compares the node expressed by XPath to the value of a literal with a fuzzy operator which
expands the literal to match misspellings.
|
T |
xpathIsLike(String xpath,
String pattern,
boolean isCaseSensitive)
Compares the node expressed by XPath to a regular expression pattern.
|
public static final String WILDCARD_CHAR
public static final String SINGLE_CHAR
public static final String ESCAPE_CHAR
public T and(List<T> operands)
operands
- list of operands to "and"public T or(List<T> operands)
operands
- list of T to "or"public T nearestNeighbor(String propertyName, String wkt)
propertyName
- name of property to comparewkt
- WKT geometry to comparepublic T not(T operand)
operand
- operand to negatepublic T include()
true
.public T exclude()
false
.public T propertyIsEqualTo(String propertyName, String literal, boolean isCaseSensitive)
propertyName
- name of property to compareliteral
- value to compareisCaseSensitive
- case-sensitivity booleanpropertyName
and literal
propertyIsEqualTo(String, Object)
public T propertyIsEqualTo(String propertyName, Date literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsEqualTo(String, Object)
public T propertyIsEqualTo(String propertyName, Date startDate, Date endDate)
propertyName
- name of property to comparestartDate
- starting date of literal to compareendDate
- ending date of literal to comparepropertyName
and literal
propertyIsEqualTo(String, Object)
public T propertyIsEqualTo(String propertyName, int literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsEqualTo(String, Object)
public T propertyIsEqualTo(String propertyName, short literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsEqualTo(String, Object)
public T propertyIsEqualTo(String propertyName, long literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsEqualTo(String, Object)
public T propertyIsEqualTo(String propertyName, float literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsEqualTo(String, Object)
public T propertyIsEqualTo(String propertyName, double literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsEqualTo(String, Object)
public T propertyIsEqualTo(String propertyName, boolean literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsEqualTo(String, Object)
public T propertyIsEqualTo(String propertyName, byte[] literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsEqualTo(String, Object)
public T propertyIsEqualTo(String propertyName, Object literal)
propertyName == literal
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
public T propertyIsEqualTo(String functionName, List<Object> arguments, Object literal)
function result == literal
functionName
- name of functionarguments
- list of arguments to pass to the functionliteral
- value to comparefunctionName
result and literal
public T propertyIsNotEqualTo(String propertyName, String literal, boolean isCaseSensitive)
propertyName
- name of property to compareliteral
- value to compareisCaseSensitive
- case-sensitivity booleanpropertyName
and literal
propertyIsNotEqualTo(String, Object)
public T propertyIsNotEqualTo(String propertyName, Date literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsNotEqualTo(String, Object)
public T propertyIsNotEqualTo(String propertyName, Date startDate, Date endDate)
propertyName
- name of property to comparestartDate
- starting date of literal to compareendDate
- ending date of literal to comparepropertyName
and literal
propertyIsNotEqualTo(String, Object)
public T propertyIsNotEqualTo(String propertyName, int literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsNotEqualTo(String, Object)
public T propertyIsNotEqualTo(String propertyName, short literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsNotEqualTo(String, Object)
public T propertyIsNotEqualTo(String propertyName, long literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsNotEqualTo(String, Object)
public T propertyIsNotEqualTo(String propertyName, float literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsNotEqualTo(String, Object)
public T propertyIsNotEqualTo(String propertyName, double literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsNotEqualTo(String, Object)
public T propertyIsNotEqualTo(String propertyName, boolean literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsNotEqualTo(String, Object)
public T propertyIsNotEqualTo(String propertyName, byte[] literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsNotEqualTo(String, Object)
public T propertyIsNotEqualTo(String propertyName, Object literal)
propertyName != literal
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
public T propertyIsGreaterThan(String propertyName, String literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThan(String, Object)
public T propertyIsGreaterThan(String propertyName, Date literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThan(String, Object)
public T propertyIsGreaterThan(String propertyName, int literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThan(String, Object)
public T propertyIsGreaterThan(String propertyName, short literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThan(String, Object)
public T propertyIsGreaterThan(String propertyName, long literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThan(String, Object)
public T propertyIsGreaterThan(String propertyName, float literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThan(String, Object)
public T propertyIsGreaterThan(String propertyName, double literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThan(String, Object)
public T propertyIsGreaterThan(String propertyName, Object literal)
propertyName > literal
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
public T propertyIsGreaterThanOrEqualTo(String propertyName, String literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThanOrEqualTo(String, Object)
public T propertyIsGreaterThanOrEqualTo(String propertyName, Date literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThanOrEqualTo(String, Object)
public T propertyIsGreaterThanOrEqualTo(String propertyName, int literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThanOrEqualTo(String, Object)
public T propertyIsGreaterThanOrEqualTo(String propertyName, short literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThanOrEqualTo(String, Object)
public T propertyIsGreaterThanOrEqualTo(String propertyName, long literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThanOrEqualTo(String, Object)
public T propertyIsGreaterThanOrEqualTo(String propertyName, float literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThanOrEqualTo(String, Object)
public T propertyIsGreaterThanOrEqualTo(String propertyName, double literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsGreaterThanOrEqualTo(String, Object)
public T propertyIsGreaterThanOrEqualTo(String propertyName, Object literal)
propertyName >= literal
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
public T propertyIsLessThan(String propertyName, String literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThan(String, Object)
public T propertyIsLessThan(String propertyName, Date literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThan(String, Object)
public T propertyIsLessThan(String propertyName, int literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThan(String, Object)
public T propertyIsLessThan(String propertyName, short literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThan(String, Object)
public T propertyIsLessThan(String propertyName, long literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThan(String, Object)
public T propertyIsLessThan(String propertyName, float literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThan(String, Object)
public T propertyIsLessThan(String propertyName, double literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThan(String, Object)
public T propertyIsLessThan(String propertyName, Object literal)
propertyName < literal
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
public T propertyIsLessThanOrEqualTo(String propertyName, String literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThanOrEqualTo(String, Object)
public T propertyIsLessThanOrEqualTo(String propertyName, Date literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThanOrEqualTo(String, Object)
public T propertyIsLessThanOrEqualTo(String propertyName, int literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThanOrEqualTo(String, Object)
public T propertyIsLessThanOrEqualTo(String propertyName, short literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThanOrEqualTo(String, Object)
public T propertyIsLessThanOrEqualTo(String propertyName, long literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThanOrEqualTo(String, Object)
public T propertyIsLessThanOrEqualTo(String propertyName, float literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThanOrEqualTo(String, Object)
public T propertyIsLessThanOrEqualTo(String propertyName, double literal)
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
propertyIsLessThanOrEqualTo(String, Object)
public T propertyIsLessThanOrEqualTo(String propertyName, Object literal)
propertyName <= literal
propertyName
- name of property to compareliteral
- value to comparepropertyName
and literal
public T propertyIsBetween(String propertyName, String lowerBoundary, String upperBoundary)
propertyName
- name of property to comparelowerBoundary
- lower boundary to compareupperBoundary
- upper boundary to comparepropertyIsBetween(String, Object, Object)
public T propertyIsBetween(String propertyName, Date lowerBoundary, Date upperBoundary)
propertyName
- name of property to comparelowerBoundary
- lower boundary to compareupperBoundary
- upper boundary to comparepropertyIsBetween(String, Object, Object)
public T propertyIsBetween(String propertyName, int lowerBoundary, int upperBoundary)
propertyName
- name of property to comparelowerBoundary
- lower boundary to compareupperBoundary
- upper boundary to comparepropertyIsBetween(String, Object, Object)
public T propertyIsBetween(String propertyName, short lowerBoundary, short upperBoundary)
propertyName
- name of property to comparelowerBoundary
- lower boundary to compareupperBoundary
- upper boundary to comparepropertyIsBetween(String, Object, Object)
public T propertyIsBetween(String propertyName, long lowerBoundary, long upperBoundary)
propertyName
- name of property to comparelowerBoundary
- lower boundary to compareupperBoundary
- upper boundary to comparepropertyIsBetween(String, Object, Object)
public T propertyIsBetween(String propertyName, float lowerBoundary, float upperBoundary)
propertyName
- name of property to comparelowerBoundary
- lower boundary to compareupperBoundary
- upper boundary to comparepropertyIsBetween(String, Object, Object)
public T propertyIsBetween(String propertyName, double lowerBoundary, double upperBoundary)
propertyName
- name of property to comparelowerBoundary
- lower boundary to compareupperBoundary
- upper boundary to comparepropertyIsBetween(String, Object, Object)
public T propertyIsBetween(String propertyName, Object lowerBoundary, Object upperBoundary)
lower < propertyName < upper
propertyName
- name of property to comparelowerBoundary
- lower boundary to compareupperBoundary
- upper boundary to comparepublic T propertyIsNull(String propertyName)
null
.
propertyName == null
propertyName
- name of property to comparepublic T propertyIsLike(String propertyName, String pattern, boolean isCaseSensitive)
Regular expression special characters are defined as WILDCARD_CHAR
, SINGLE_CHAR
, and ESCAPE_CHAR
.
propertyName
- name of property to comparepattern
- regular expression pattern to matchisCaseSensitive
- case-sensitivity booleanpublic T propertyIsFuzzy(String propertyName, String literal)
propertyName
- name of property to compareliteral
- value to comparepublic T xpathExists(String xpath)
xpath
- XPath expressionpublic T xpathIsLike(String xpath, String pattern, boolean isCaseSensitive)
xpath
- XPath expressionpattern
- regular expression pattern to matchisCaseSensitive
- case-sensitivity booleanpropertyIsLike(String, String, boolean)
public T xpathIsFuzzy(String xpath, String literal)
xpath
- XPath expressionliteral
- value to comparepublic T beyond(String propertyName, String wkt, double distance)
propertyName
- name of property to comparewkt
- WKT geometry to comparedistance
- distance buffer in meterspublic T contains(String propertyName, String wkt)
propertyName
- name of property to comparewkt
- WKT geometry to comparepublic T crosses(String propertyName, String wkt)
propertyName
- name of property to comparewkt
- WKT geometry to comparepublic T disjoint(String propertyName, String wkt)
propertyName
- name of property to comparewkt
- WKT geometry to comparepublic T dwithin(String propertyName, String wkt, double distance)
propertyName
- name of property to comparewkt
- WKT geometry to comparedistance
- distance buffer in meterspublic T intersects(String propertyName, String wkt)
propertyName
- name of property to comparewkt
- WKT geometry to comparepublic T overlaps(String propertyName, String wkt)
propertyName
- name of property to comparewkt
- WKT geometry to comparepublic T touches(String propertyName, String wkt)
propertyName
- name of property to comparewkt
- WKT geometry to comparepublic T within(String propertyName, String wkt)
propertyName
- name of property to comparewkt
- WKT geometry to comparepublic T after(String propertyName, Date date)
Date
. This is an
exclusive comparison.
property > date
propertyName
- name of property to comparedate
- Date
to comparepublic T before(String propertyName, Date date)
Date
.This is an
exclusive comparison.
property < date
propertyName
- name of property to comparedate
- Date
to comparepublic T during(String propertyName, Date startDate, Date endDate)
startDate < property < endDate
propertyName
- name of property to comparestartDate
- start date to compareendDate
- end date to comparepublic T begins(String propertyName, Date startDate, Date endDate)
propertyName
- name of property to comparestartDate
- start date to compareendDate
- end date to comparepublic T relative(String propertyName, long duration)
propertyName
- name of property to compareduration
- relative duration in millisecondsThis work is licensed under a Creative Commons Attribution 4.0 International License.