Class FutureValidatorForThaiBuddhistDate
java.lang.Object
org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractJavaTimeValidator<Future,T>
org.hibernate.validator.internal.constraintvalidators.bv.time.future.AbstractFutureJavaTimeValidator<ThaiBuddhistDate>
org.hibernate.validator.internal.constraintvalidators.bv.time.future.FutureValidatorForThaiBuddhistDate
- All Implemented Interfaces:
ConstraintValidator<Future,
,ThaiBuddhistDate> HibernateConstraintValidator<Future,
ThaiBuddhistDate>
public class FutureValidatorForThaiBuddhistDate
extends AbstractFutureJavaTimeValidator<ThaiBuddhistDate>
Check that the
java.time.chrono.ThaiBuddhistDate
passed is in the future.- Author:
- Guillaume Smet
-
Field Summary
Fields inherited from class org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractJavaTimeValidator
referenceClock
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ThaiBuddhistDate
getReferenceValue
(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.future.AbstractFutureJavaTimeValidator
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
-
Constructor Details
-
FutureValidatorForThaiBuddhistDate
public FutureValidatorForThaiBuddhistDate()
-
-
Method Details
-
getReferenceValue
Description copied from class:AbstractJavaTimeValidator
Returns an object of the validated type corresponding to the current time reference as provided by theClockProvider
.- Specified by:
getReferenceValue
in classAbstractJavaTimeValidator<Future,
ThaiBuddhistDate>
-