Package io.github.mmm.validation.time
Class ValidatorTemporalPast<V>
java.lang.Object
io.github.mmm.validation.AbstractValidator<V>
io.github.mmm.validation.AbstractValueValidator<V>
io.github.mmm.validation.time.ValidatorTemporalPast<V>
- Type Parameters:
V- is the generic type of the value tovalidate.
- All Implemented Interfaces:
io.github.mmm.base.lang.Composable<Validator<?>>,Validator<V>,Iterable<Validator<?>>
- Direct Known Subclasses:
ValidatorInstantPast,ValidatorLocalDatePast,ValidatorLocalDateTimePast,ValidatorLocalTimePast,ValidatorOffsetDateTimePast,ValidatorOffsetTimePast,ValidatorZonedDateTimePast
- Since:
- 1.0.0
-
Field Summary
FieldsFields inherited from interface io.github.mmm.validation.Validator
ID_MANDATORY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()protected abstract booleanprotected NlsMessagevalidateNotNull(V value) Methods 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
-
Field Details
-
ID
- See Also:
-
-
Constructor Details
-
ValidatorTemporalPast
public ValidatorTemporalPast()The constructor.
-
-
Method Details
-
getId
-
validateNotNull
- Specified by:
validateNotNullin classAbstractValueValidator<V>
-
isPast
- Parameters:
value- the date to check.- Returns:
trueif in future,falseotherwise.
-