public abstract class AbstractFutureOrPresentJavaTimeValidator<T extends TemporalAccessor & Comparable<? super T>> extends AbstractJavaTimeValidator<FutureOrPresent,T>
@FutureOrPresent validators that are based on the java.time package.referenceClock| Constructor and Description |
|---|
AbstractFutureOrPresentJavaTimeValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected Duration |
getEffectiveTemporalValidationTolerance(Duration absoluteTemporalValidationTolerance)
Returns the temporal validation tolerance to apply.
|
protected boolean |
isValid(int result)
Returns whether the result of the comparison between the validated value and the time reference is considered
valid.
|
getReferenceValue, initialize, isValidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializepublic AbstractFutureOrPresentJavaTimeValidator()
protected boolean isValid(int result)
AbstractJavaTimeValidatorisValid in class AbstractJavaTimeValidator<FutureOrPresent,T extends TemporalAccessor & Comparable<? super T>>protected Duration getEffectiveTemporalValidationTolerance(Duration absoluteTemporalValidationTolerance)
AbstractJavaTimeValidatorgetEffectiveTemporalValidationTolerance in class AbstractJavaTimeValidator<FutureOrPresent,T extends TemporalAccessor & Comparable<? super T>>Copyright © 2019 JBoss by Red Hat. All rights reserved.