public class ValidatorInstantBefore extends ValidatorTimeBefore<Instant>
ValidatorTimeBefore for Instant.CODEPROPERTY_MANDATORY, PROPERTY_MAXIMUM, PROPERTY_MINIMUM| Constructor and Description |
|---|
ValidatorInstantBefore(AttributeReadValue<Instant> valueSource)
The constructor.
|
ValidatorInstantBefore(Instant value)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isBefore(Instant value,
Instant limit) |
equals, getCode, hashCode, isDynamic, validateNotNullvalidate, validateNullappend, contains, createBundle, getProperty, isMandatory, validatepublic ValidatorInstantBefore(AttributeReadValue<Instant> valueSource)
valueSource - the source of the value to compare to.public ValidatorInstantBefore(Instant value)
value - the value to compare to.protected boolean isBefore(Instant value, Instant limit)
isBefore in class ValidatorTimeBefore<Instant>value - the date to check.limit - the upper bound to compare to.true if value is before limit, false otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.