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

public Class PastOrPresentValidatorForMonthDay

extends AbstractPastOrPresentJavaTimeValidator<MonthDay>
Class Inheritance
Imports
java.time.Clock, .MonthDay

Check that the java.time.MonthDay passed is in the past.
Author
Guillaume Smet

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected MonthDay
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.pastorpresent.AbstractPastOrPresentJavaTimeValidator:
getEffectiveTemporalValidationToleranceisValid

Constructor Detail

PastOrPresentValidatorForMonthDayback to summary
public PastOrPresentValidatorForMonthDay()

Method Detail

getReferenceValueback to summary
protected MonthDay 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