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

public Class FutureValidatorForReadablePartial

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

Check if Joda Time type who implements org.joda.time.ReadablePartial 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(ReadablePartial 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

FutureValidatorForReadablePartialback to summary
public FutureValidatorForReadablePartial()

Method Detail

getEpochMillisback to summary
protected long getEpochMillis(ReadablePartial 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