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,
Clock reference)
Returns the millisecond based instant measured from Epoch.
|
getEffectiveTemporalValidationTolerance, isValid
initialize, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
protected long getEpochMillis(org.joda.time.ReadableInstant value, Clock reference)
AbstractEpochBasedTimeValidator
Clock
provided by the ClockProvider
.getEpochMillis
in class AbstractEpochBasedTimeValidator<Past,org.joda.time.ReadableInstant>
Copyright © 2019 JBoss by Red Hat. All rights reserved.