public class PastOrPresentValidatorForDate extends AbstractPastOrPresentInstantBasedValidator<java.util.Date>
java.util.Date
passed to be validated is in the
past.referenceClock
Constructor and Description |
---|
PastOrPresentValidatorForDate() |
Modifier and Type | Method and Description |
---|---|
protected java.time.Instant |
getInstant(java.util.Date value)
Returns the
Instant measured from Epoch. |
getEffectiveTemporalValidationTolerance, isValid
initialize, isValid
protected java.time.Instant getInstant(java.util.Date value)
AbstractInstantBasedTimeValidator
Instant
measured from Epoch.getInstant
in class AbstractInstantBasedTimeValidator<javax.validation.constraints.PastOrPresent,java.util.Date>
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved