Show:

The class of date predicate for filtering attribute by value and filter operator.

Constructor

DatePredicate

(
  • attributePath
  • operator
  • value
  • timeless
)

Parameters:

Methods

and

(
  • predicates
)
Query.ComplexPredicate public

Combines specified predicates using and logic condition.

Parameters:

  • predicates Query.BasePredicate multiple

    List of predicates for combining.

Returns:

Query.ComplexPredicate:

Combined complex predicate with and logic.

createPredicate

(
  • args
)
BasePredicate

Creates predicate by various parameters.

Parameters:

  • args Object

    Arguments for the predicate.

Returns:

or

(
  • predicates
)
Query.ComplexPredicate public

Combines specified predicates using or logic condition.

Parameters:

  • predicates Query.BasePredicate multiple

    List of predicates for combining.

Returns:

Query.ComplexPredicate:

Combined complex predicate with or logic.

stringToPredicate

(
  • stringPredicate
)
BasePredicate

Convert string to predicate.

Parameters:

Returns:

toString

() String public

Converts this instance to string.

Returns:

String:

Text representation of the predicate.

Properties

attributePath

String public

The path to the attribute for filtering.

operator

Query.FilterOperator public

The filter operator.

timeless

Boolean public

Flag for dates.

value

String public

The value for filtering.