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

public Class PastValidatorForZonedDateTime

extends AbstractPastJavaTimeValidator<ZonedDateTime>
Class Inheritance
Imports
java.time.Clock, .ZonedDateTime

Check that the java.time.ZonedDateTime passed is in the past.
Authors
Khalid Alqinyah, Guillaume Smet

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ZonedDateTime
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.past.AbstractPastJavaTimeValidator:
getEffectiveTemporalValidationToleranceisValid

Constructor Detail

PastValidatorForZonedDateTimeback to summary
public PastValidatorForZonedDateTime()

Method Detail

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