Class FutureValidatorForDate
java.lang.Object
org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractInstantBasedTimeValidator<Future,T>
org.hibernate.validator.internal.constraintvalidators.bv.time.future.AbstractFutureInstantBasedValidator<Date>
org.hibernate.validator.internal.constraintvalidators.bv.time.future.FutureValidatorForDate
- All Implemented Interfaces:
ConstraintValidator<Future,,Date> HibernateConstraintValidator<Future,Date>
Check that the
java.util.Date passed to be validated is in the
future.- Author:
- Alaa Nassef, Guillaume Smet
-
Field Summary
Fields inherited from class org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractInstantBasedTimeValidator
referenceClock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InstantgetInstant(Date value) Returns theInstantmeasured from Epoch.Methods inherited from class org.hibernate.validator.internal.constraintvalidators.bv.time.future.AbstractFutureInstantBasedValidator
getEffectiveTemporalValidationTolerance, isValidMethods inherited from class org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractInstantBasedTimeValidator
initialize, isValidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initialize
-
Constructor Details
-
FutureValidatorForDate
public FutureValidatorForDate()
-
-
Method Details
-
getInstant
Description copied from class:AbstractInstantBasedTimeValidatorReturns theInstantmeasured from Epoch.- Specified by:
getInstantin classAbstractInstantBasedTimeValidator<Future,Date>
-