public interface TimeValidator
Modifier and Type | Method and Description |
---|---|
boolean |
isFuture() |
boolean |
isFutureOrPresent() |
boolean |
isPast() |
boolean |
isPastOrPresent() |
void |
setCheckSeconds(boolean checkSeconds)
Sets check seconds to validator.
|
boolean isPast()
boolean isPastOrPresent()
boolean isFuture()
boolean isFutureOrPresent()
void setCheckSeconds(boolean checkSeconds)
checkSeconds
- check seconds and nanos option, false by default