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

public Class FutureValidatorForReadableInstant

extends AbstractFutureEpochBasedValidator<ReadableInstant>
Class Inheritance
Imports
java.time.Clock, org.joda.time.ReadableInstant

Check if Joda Time type who implements import org.joda.time.ReadableInstant is in the future.
Authors
Kevin Pollet <[email protected]> (C) 2011 SERLI, Guillaume Smet

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected long
getEpochMillis(ReadableInstant value, Clock reference)

Implements abstract org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractEpochBasedTimeValidator.getEpochMillis.

Returns the millisecond based instant measured from Epoch.
Inherited from org.hibernate.validator.internal.constraintvalidators.bv.time.future.AbstractFutureEpochBasedValidator:
getEffectiveTemporalValidationToleranceisValid

Constructor Detail

FutureValidatorForReadableInstantback to summary
public FutureValidatorForReadableInstant()

Method Detail

getEpochMillisback to summary
protected long getEpochMillis(ReadableInstant value, Clock reference)

Implements abstract org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractEpochBasedTimeValidator.getEpochMillis.

Doc from org.hibernate.validator.internal.constraintvalidators.bv.time.AbstractEpochBasedTimeValidator.getEpochMillis.

Returns the millisecond based instant measured from Epoch. In the case of partials requiring a time reference, we use the Clock provided by the ClockProvider.

Annotations
@Override