public class FutureOrPresentValidatorForInstant extends AbstractFutureOrPresentJavaTimeValidator<Instant>
java.time.Instant passed is in the future.referenceClock| Constructor and Description |
|---|
FutureOrPresentValidatorForInstant() |
| Modifier and Type | Method and Description |
|---|---|
protected Instant |
getReferenceValue(Clock reference)
Returns an object of the validated type corresponding to the current time reference as provided by the
ClockProvider. |
getEffectiveTemporalValidationTolerance, isValidinitialize, isValidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeprotected Instant getReferenceValue(Clock reference)
AbstractJavaTimeValidatorClockProvider.getReferenceValue in class AbstractJavaTimeValidator<FutureOrPresent,Instant>Copyright © 2019 JBoss by Red Hat. All rights reserved.