Class ValidatorLocalTimeAfter
java.lang.Object
io.github.mmm.validation.AbstractValidator<V>
io.github.mmm.validation.AbstractValueValidator<V>
io.github.mmm.validation.temporal.ValidatorTemporalAfter<LocalTime>
io.github.mmm.validation.temporal.localtime.ValidatorLocalTimeAfter
- All Implemented Interfaces:
io.github.mmm.base.lang.Composable<Validator<?>>
,Validator<LocalTime>
,Iterable<Validator<?>>
Implementation of
ValidatorTemporalAfter
for LocalTime
.- Since:
- 1.0.0
-
Field Summary
Fields inherited from class io.github.mmm.validation.temporal.ValidatorTemporalAfter
ID
Fields inherited from interface io.github.mmm.validation.Validator
ID_MANDATORY
-
Constructor Summary
ConstructorsConstructorDescriptionValidatorLocalTimeAfter
(LocalTime value) The constructor.ValidatorLocalTimeAfter
(Supplier<LocalTime> valueSource) The constructor. -
Method Summary
Methods inherited from class io.github.mmm.validation.temporal.ValidatorTemporalAfter
equals, getId, getMin, hashCode, isDynamic, validateNotNull
Methods inherited from class io.github.mmm.validation.AbstractValueValidator
validate, validateNull
Methods inherited from class io.github.mmm.validation.AbstractValidator
getChild, getChildCount, 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, getRange, isMandatory, validate
-
Constructor Details
-
ValidatorLocalTimeAfter
The constructor.- Parameters:
valueSource
- theSupplier
of the value to compare to.
-
ValidatorLocalTimeAfter
The constructor.- Parameters:
value
- the value to compare to.
-
-
Method Details
-
isAfter
- Specified by:
isAfter
in classValidatorTemporalAfter<LocalTime>
- Parameters:
value
- the date to check.limit
- the upper bound to compare to.- Returns:
true
ifvalue
is afterlimit
,false
otherwise.
-