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