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

public Class FutureValidatorForInstant

extends AbstractFutureJavaTimeValidator<Instant>
Class Inheritance
Imports
java.time.Clock, .Instant

Check that the java.time.Instant passed is in the future.
Authors
Khalid Alqinyah, Guillaume Smet

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected Instant
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.future.AbstractFutureJavaTimeValidator:
getEffectiveTemporalValidationToleranceisValid

Constructor Detail

FutureValidatorForInstantback to summary
public FutureValidatorForInstant()

Method Detail

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