public class PastOrPresentValidatorForLocalDate extends AbstractPastOrPresentJavaTimeValidator<LocalDate>
java.time.LocalDate
passed is in the past.referenceClock
Constructor and Description |
---|
PastOrPresentValidatorForLocalDate() |
Modifier and Type | Method and Description |
---|---|
protected LocalDate |
getReferenceValue(Clock reference)
Returns an object of the validated type corresponding to the current time reference as provided by the
ClockProvider . |
getEffectiveTemporalValidationTolerance, isValid
initialize, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
protected LocalDate getReferenceValue(Clock reference)
AbstractJavaTimeValidator
ClockProvider
.getReferenceValue
in class AbstractJavaTimeValidator<PastOrPresent,LocalDate>
Copyright © 2020 JBoss by Red Hat. All rights reserved.