public class ValidatorInstantAfter extends ValidatorTimeAfter<Instant>
ValidatorTimeAfter for Instant.CODEPROPERTY_MANDATORY, PROPERTY_MAXIMUM, PROPERTY_MINIMUM| Constructor and Description |
|---|
ValidatorInstantAfter(AttributeReadValue<Instant> valueSource)
The constructor.
|
ValidatorInstantAfter(Instant value)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isAfter(Instant value,
Instant limit) |
equals, getCode, hashCode, isDynamic, validateNotNullvalidate, validateNullappend, contains, createBundle, getProperty, isMandatory, validatepublic ValidatorInstantAfter(AttributeReadValue<Instant> valueSource)
valueSource - the source of the value to compare to.public ValidatorInstantAfter(Instant value)
value - the value to compare to.protected boolean isAfter(Instant value, Instant limit)
isAfter in class ValidatorTimeAfter<Instant>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.