Class DateValueMatcher
java.lang.Object
com.norconex.importer.handler.condition.impl.DateValueMatcher
- All Implemented Interfaces:
Predicate<ZonedDateTime>
Immutable date-value matcher, supporting both date expressions and
standard operators.
-
Constructor Summary
ConstructorsConstructorDescriptionDateValueMatcher(Operator operator, @NonNull DateProvider dateProvider) DateValueMatcher(Operator operator, String dateTimeExpression, ZoneId zoneId) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanOriginal date expression and explicitly-supplied zone id (if any), retained so a condition-level default zone can be applied later to matchers that did not specify their own.inthashCode()booleantest(ZonedDateTime zdt) toString()
-
Constructor Details
-
DateValueMatcher
-
DateValueMatcher
-
-
Method Details
-
test
- Specified by:
testin interfacePredicate<ZonedDateTime>
-
getOperator
-
getDateProvider
-
getDateExpression
Original date expression and explicitly-supplied zone id (if any), retained so a condition-level default zone can be applied later to matchers that did not specify their own. Excluded from equality and serialization (thedate/zoneIdJSON properties handle that). -
getExplicitZoneId
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-