public class ValidatorLocalDateTimeAfter extends ValidatorTimeAfter<LocalDateTime>
ValidatorTimeAfter
for LocalDateTime
.CODE
PROPERTY_MANDATORY, PROPERTY_MAXIMUM, PROPERTY_MINIMUM
Constructor and Description |
---|
ValidatorLocalDateTimeAfter(AttributeReadValue<LocalDateTime> valueSource)
The constructor.
|
ValidatorLocalDateTimeAfter(LocalDateTime value)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
isAfter(LocalDateTime value,
LocalDateTime limit) |
equals, getCode, hashCode, isDynamic, validateNotNull
validate, validateNull
append, contains, createBundle, getProperty, isMandatory, validate
public ValidatorLocalDateTimeAfter(AttributeReadValue<LocalDateTime> valueSource)
valueSource
- the source
of the value to compare to.public ValidatorLocalDateTimeAfter(LocalDateTime value)
value
- the value to compare to.protected boolean isAfter(LocalDateTime value, LocalDateTime limit)
isAfter
in class ValidatorTimeAfter<LocalDateTime>
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.