Class DateCondition.DynamicFixedDateTimeSupplier
- java.lang.Object
-
- com.norconex.importer.handler.condition.impl.DateCondition.DynamicFixedDateTimeSupplier
-
- All Implemented Interfaces:
Supplier<ZonedDateTime>
- Enclosing class:
- DateCondition
public static class DateCondition.DynamicFixedDateTimeSupplier extends Object implements Supplier<ZonedDateTime>
-
-
Constructor Summary
Constructors Constructor Description DynamicFixedDateTimeSupplier(DateCondition.TimeUnit unit, int amount, boolean today, ZoneId zoneId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZonedDateTime
createDateTime(ZoneId zoneId)
boolean
equals(Object other)
ZonedDateTime
get()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
DynamicFixedDateTimeSupplier
public DynamicFixedDateTimeSupplier(DateCondition.TimeUnit unit, int amount, boolean today, ZoneId zoneId)
-
-
Method Detail
-
get
public ZonedDateTime get()
- Specified by:
get
in interfaceSupplier<ZonedDateTime>
-
createDateTime
public ZonedDateTime createDateTime(ZoneId zoneId)
-
-