Class ValidatorZonedDateTimeFuture
- java.lang.Object
-
- io.github.mmm.validation.AbstractValidator<V>
-
- io.github.mmm.validation.AbstractValueValidator<V>
-
- io.github.mmm.validation.temporal.ValidatorTemporalFuture<ZonedDateTime>
-
- io.github.mmm.validation.temporal.zoneddatetime.ValidatorZonedDateTimeFuture
-
- All Implemented Interfaces:
Composable<Validator<?>>,Validator<ZonedDateTime>,Iterable<Validator<?>>
public class ValidatorZonedDateTimeFuture extends ValidatorTemporalFuture<ZonedDateTime>
Implementation ofValidatorTemporalFutureforOffsetDateTime.- Since:
- 1.0.0
-
-
Field Summary
-
Fields inherited from class io.github.mmm.validation.temporal.ValidatorTemporalFuture
ID
-
Fields inherited from interface io.github.mmm.validation.Validator
ID_MANDATORY
-
-
Constructor Summary
Constructors Constructor Description ValidatorZonedDateTimeFuture()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisFuture(ZonedDateTime value)-
Methods inherited from class io.github.mmm.validation.temporal.ValidatorTemporalFuture
getId, validateNotNull
-
Methods inherited from class io.github.mmm.validation.AbstractValueValidator
validate, validateNull
-
Methods inherited from class io.github.mmm.validation.AbstractValidator
equals, 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
getChild, getChildCount, iterator
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface io.github.mmm.validation.Validator
append, append, containsId, getMax, getMin, isMandatory, validate
-
-
-
-
Method Detail
-
isFuture
protected boolean isFuture(ZonedDateTime value)
- Specified by:
isFuturein classValidatorTemporalFuture<ZonedDateTime>- Parameters:
value- the date to check.- Returns:
trueif in future,falseotherwise.
-
-