public class ValidatorLocalDateTimeAfter extends ValidatorTimeAfter<LocalDateTime>
ValidatorTimeAfter for LocalDateTime.CODEPROPERTY_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, validateNotNullvalidate, validateNullappend, contains, createBundle, getProperty, isMandatory, validatepublic 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.