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,
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 FutureOrPresentValidatorForReadablePartial()
protected long getEpochMillis(org.joda.time.ReadablePartial value, Clock reference)
AbstractEpochBasedTimeValidator
Clock
provided by the ClockProvider
.getEpochMillis
in class AbstractEpochBasedTimeValidator<FutureOrPresent,org.joda.time.ReadablePartial>
Copyright © 2019 JBoss by Red Hat. All rights reserved.