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