public class ValidatorInstantPast extends ValidatorTimePast<Instant>
ValidatorTimePast
for Instant
.CODE
PROPERTY_MANDATORY, PROPERTY_MAXIMUM, PROPERTY_MINIMUM
Constructor and Description |
---|
ValidatorInstantPast() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isPast(Instant value) |
equals, getCode, hashCode, validateNotNull
validate, validateNull
append, contains, createBundle, getProperty, isDynamic, isMandatory, validate
protected boolean isPast(Instant value)
isPast
in class ValidatorTimePast<Instant>
value
- the date to check.true
if in future, false
otherwise.Copyright © 2001–2016 mmm-Team. All rights reserved.