public class ValidatorLocalDateAfter extends ValidatorTimeAfter<LocalDate>
ValidatorTimeAfter
for LocalDate
.CODE
PROPERTY_MANDATORY, PROPERTY_MAXIMUM, PROPERTY_MINIMUM
Constructor and Description |
---|
ValidatorLocalDateAfter(AttributeReadValue<LocalDate> valueSource)
The constructor.
|
ValidatorLocalDateAfter(LocalDate value)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAfter(LocalDate value,
LocalDate limit) |
equals, getCode, hashCode, isDynamic, validateNotNull
validate, validateNull
append, contains, createBundle, getProperty, isMandatory, validate
public ValidatorLocalDateAfter(AttributeReadValue<LocalDate> valueSource)
valueSource
- the source
of the value to compare to.public ValidatorLocalDateAfter(LocalDate value)
value
- the value to compare to.protected boolean isAfter(LocalDate value, LocalDate limit)
isAfter
in class ValidatorTimeAfter<LocalDate>
value
- the date to check.limit
- the upper bound to compare to.true
if value
is after limit
, false
otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.