Class PastValidatorForThaiBuddhistDate
- java.lang.Object
-
- org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractJavaTimeValidator<Past,T>
-
- org.hibernate.validator.internal.constraintvalidators.bv.time.past.AbstractPastJavaTimeValidator<ThaiBuddhistDate>
-
- org.hibernate.validator.internal.constraintvalidators.bv.time.past.PastValidatorForThaiBuddhistDate
-
- All Implemented Interfaces:
ConstraintValidator<Past,ThaiBuddhistDate>,HibernateConstraintValidator<Past,ThaiBuddhistDate>
public class PastValidatorForThaiBuddhistDate extends AbstractPastJavaTimeValidator<ThaiBuddhistDate>
Check that thejava.time.chrono.ThaiBuddhistDatepassed is in the past.- Author:
- Guillaume Smet
-
-
Field Summary
-
Fields inherited from class org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractJavaTimeValidator
referenceClock
-
-
Constructor Summary
Constructors Constructor Description PastValidatorForThaiBuddhistDate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ThaiBuddhistDategetReferenceValue(Clock reference)Returns an object of the validated type corresponding to the current time reference as provided by theClockProvider.-
Methods inherited from class org.hibernate.validator.internal.constraintvalidators.bv.time.past.AbstractPastJavaTimeValidator
getEffectiveTemporalValidationTolerance, isValid
-
Methods inherited from class org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractJavaTimeValidator
initialize, isValid
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jakarta.validation.ConstraintValidator
initialize
-
-
-
-
Method Detail
-
getReferenceValue
protected ThaiBuddhistDate getReferenceValue(Clock reference)
Description copied from class:AbstractJavaTimeValidatorReturns an object of the validated type corresponding to the current time reference as provided by theClockProvider.- Specified by:
getReferenceValuein classAbstractJavaTimeValidator<Past,ThaiBuddhistDate>
-
-