Class ValidatorOffsetDateTimePast
java.lang.Object
io.github.mmm.validation.AbstractValidator<V>
io.github.mmm.validation.AbstractValueValidator<V>
io.github.mmm.validation.temporal.ValidatorTemporalPast<OffsetDateTime>
io.github.mmm.validation.temporal.offsetdatetime.ValidatorOffsetDateTimePast
- All Implemented Interfaces:
io.github.mmm.base.lang.Composable<Validator<?>>,Validator<OffsetDateTime>,Iterable<Validator<?>>
Implementation of
ValidatorTemporalPast for OffsetDateTime.- Since:
- 1.0.0
-
Field Summary
Fields inherited from class io.github.mmm.validation.temporal.ValidatorTemporalPast
IDFields inherited from interface io.github.mmm.validation.Validator
ID_MANDATORY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.github.mmm.validation.temporal.ValidatorTemporalPast
getId, validateNotNullMethods inherited from class io.github.mmm.validation.AbstractValueValidator
validate, validateNullMethods inherited from class io.github.mmm.validation.AbstractValidator
equals, getChild, getChildCount, hashCode, isDynamic, source2string, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.mmm.base.lang.Composable
iteratorMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface io.github.mmm.validation.Validator
append, append, containsId, getChild, getMax, getMin, getRange, isMandatory, validate
-
Constructor Details
-
ValidatorOffsetDateTimePast
public ValidatorOffsetDateTimePast()
-
-
Method Details
-
isPast
- Specified by:
isPastin classValidatorTemporalPast<OffsetDateTime>- Parameters:
value- the date to check.- Returns:
trueif in future,falseotherwise.
-