public class FutureOrPresentValidatorForReadablePartial extends AbstractFutureOrPresentEpochBasedValidator<org.joda.time.ReadablePartial>
org.joda.time.ReadablePartial
is in the future.referenceClock
Constructor and Description |
---|
FutureOrPresentValidatorForReadablePartial() |
Modifier and Type | Method and Description |
---|---|
protected long |
getEpochMillis(org.joda.time.ReadablePartial value,
java.time.Clock reference)
Returns the millisecond based instant measured from Epoch.
|
getEffectiveTemporalValidationTolerance, isValid
initialize, isValid
public FutureOrPresentValidatorForReadablePartial()
protected long getEpochMillis(org.joda.time.ReadablePartial value, java.time.Clock reference)
AbstractEpochBasedTimeValidator
Clock
provided by the ClockProvider
.getEpochMillis
in class AbstractEpochBasedTimeValidator<javax.validation.constraints.FutureOrPresent,org.joda.time.ReadablePartial>
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved