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