Class ValidatorTemporalPast<V>
java.lang.Object
io.github.mmm.validation.AbstractValidator<V>
io.github.mmm.validation.AbstractValueValidator<V>
io.github.mmm.validation.temporal.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 boolean
protected NlsMessage
validateNotNull
(V value) Methods inherited from class io.github.mmm.validation.AbstractValueValidator
validate, validateNull
Methods inherited from class io.github.mmm.validation.AbstractValidator
equals, getChild, getChildCount, hashCode, isDynamic, source2string, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.github.mmm.base.lang.Composable
iterator
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods 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:
validateNotNull
in classAbstractValueValidator<V>
-
isPast
- Parameters:
value
- the date to check.- Returns:
true
if in future,false
otherwise.
-