public class PastOrPresentValidatorForReadableInstant extends AbstractPastOrPresentEpochBasedValidator<org.joda.time.ReadableInstant>
import org.joda.time.ReadableInstant
is in the past.referenceClock
Constructor and Description |
---|
PastOrPresentValidatorForReadableInstant() |
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
public PastOrPresentValidatorForReadableInstant()
protected long getEpochMillis(org.joda.time.ReadableInstant value, Clock reference)
AbstractEpochBasedTimeValidator
Clock
provided by the ClockProvider
.getEpochMillis
in class AbstractEpochBasedTimeValidator<PastOrPresent,org.joda.time.ReadableInstant>
Copyright © 2021 JBoss by Red Hat. All rights reserved.