public class FutureValidatorForDate extends AbstractFutureInstantBasedValidator<java.util.Date>
java.util.Date
passed to be validated is in the
future.referenceClock
Constructor and Description |
---|
FutureValidatorForDate() |
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.Future,java.util.Date>
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved