Class ValidatorLocalDateAfter
java.lang.Object
io.github.mmm.validation.AbstractValidator<LocalDate>
io.github.mmm.validation.AbstractValueValidator<LocalDate>
io.github.mmm.validation.time.ValidatorTemporalAfter<LocalDate>
io.github.mmm.validation.time.localdate.ValidatorLocalDateAfter
- All Implemented Interfaces:
io.github.mmm.base.lang.Composable<Validator<?>>,Validator<LocalDate>,Iterable<Validator<?>>
Implementation of
ValidatorTemporalAfter for LocalDate.- Since:
- 1.0.0
-
Field Summary
Fields inherited from class io.github.mmm.validation.time.ValidatorTemporalAfter
IDFields inherited from interface io.github.mmm.validation.Validator
ID_MANDATORY -
Constructor Summary
ConstructorsConstructorDescriptionValidatorLocalDateAfter(LocalDate value) The constructor.ValidatorLocalDateAfter(Supplier<LocalDate> valueSource) The constructor. -
Method Summary
Methods inherited from class io.github.mmm.validation.time.ValidatorTemporalAfter
equals, getId, getMin, hashCode, isDynamic, validateNotNullMethods inherited from class io.github.mmm.validation.AbstractValueValidator
validate, validateNullMethods inherited from class io.github.mmm.validation.AbstractValidator
getChild, getChildCount, 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, getRange, isMandatory, validate
-
Constructor Details
-
ValidatorLocalDateAfter
The constructor.- Parameters:
valueSource- theSupplierof the value to compare to.
-
ValidatorLocalDateAfter
The constructor.- Parameters:
value- the value to compare to.
-
-
Method Details
-
isAfter
- Specified by:
isAfterin classValidatorTemporalAfter<LocalDate>- Parameters:
value- the date to check.limit- the upper bound to compare to.- Returns:
trueifvalueis afterlimit,falseotherwise.
-