public class PastOrPresentValidatorForThaiBuddhistDate extends AbstractPastOrPresentJavaTimeValidator<java.time.chrono.ThaiBuddhistDate>
java.time.chrono.ThaiBuddhistDate
passed is in the past.referenceClock
Constructor and Description |
---|
PastOrPresentValidatorForThaiBuddhistDate() |
Modifier and Type | Method and Description |
---|---|
protected java.time.chrono.ThaiBuddhistDate |
getReferenceValue(java.time.Clock reference)
Returns an object of the validated type corresponding to the current time reference as provided by the
ClockProvider . |
getEffectiveTemporalValidationTolerance, isValid
initialize, isValid
public PastOrPresentValidatorForThaiBuddhistDate()
protected java.time.chrono.ThaiBuddhistDate getReferenceValue(java.time.Clock reference)
AbstractJavaTimeValidator
ClockProvider
.getReferenceValue
in class AbstractJavaTimeValidator<javax.validation.constraints.PastOrPresent,java.time.chrono.ThaiBuddhistDate>
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved