public class PastOrPresentValidatorForDate extends AbstractPastOrPresentInstantBasedValidator<Date>
java.util.Date
passed to be validated is in the
past.referenceClock
Constructor and Description |
---|
PastOrPresentValidatorForDate() |
Modifier and Type | Method and Description |
---|---|
protected Instant |
getInstant(Date value)
Returns the
Instant measured from Epoch. |
getEffectiveTemporalValidationTolerance, isValid
initialize, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initialize
protected Instant getInstant(Date value)
AbstractInstantBasedTimeValidator
Instant
measured from Epoch.getInstant
in class AbstractInstantBasedTimeValidator<PastOrPresent,Date>
Copyright © 2021 JBoss by Red Hat. All rights reserved.