Top Description Constructors Methods
org.hibernate.validator.internal.constraintvalidators.bv.time.futureorpresent

public Class FutureOrPresentValidatorForLocalDate

extends AbstractFutureOrPresentJavaTimeValidator<LocalDate>
Class Inheritance
Imports
java.time.Clock, .LocalDate

Check that the java.time.LocalDate passed is in the future.
Author
Guillaume Smet

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected LocalDate
getReferenceValue(Clock reference)

Implements abstract org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractJavaTimeValidator.getReferenceValue.

Returns an object of the validated type corresponding to the current time reference as provided by the ClockProvider.
Inherited from org.hibernate.validator.internal.constraintvalidators.bv.time.futureorpresent.AbstractFutureOrPresentJavaTimeValidator:
getEffectiveTemporalValidationToleranceisValid

Constructor Detail

FutureOrPresentValidatorForLocalDateback to summary
public FutureOrPresentValidatorForLocalDate()

Method Detail

getReferenceValueback to summary
protected LocalDate getReferenceValue(Clock reference)

Implements abstract org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractJavaTimeValidator.getReferenceValue.

Doc from org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractJavaTimeValidator.getReferenceValue.

Returns an object of the validated type corresponding to the current time reference as provided by the ClockProvider.

Annotations
@Override