public class PastOrPresentValidatorForZonedDateTime extends AbstractPastOrPresentJavaTimeValidator<java.time.ZonedDateTime>
java.time.ZonedDateTime
passed is in the past.referenceClock
Constructor and Description |
---|
PastOrPresentValidatorForZonedDateTime() |
Modifier and Type | Method and Description |
---|---|
protected java.time.ZonedDateTime |
getReferenceValue(java.time.Clock reference)
Returns an object of the validated type corresponding to the current time reference as provided by the
ClockProvider . |
getEffectiveTemporalValidationTolerance, isValid
initialize, isValid
public PastOrPresentValidatorForZonedDateTime()
protected java.time.ZonedDateTime getReferenceValue(java.time.Clock reference)
AbstractJavaTimeValidator
ClockProvider
.getReferenceValue
in class AbstractJavaTimeValidator<javax.validation.constraints.PastOrPresent,java.time.ZonedDateTime>
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved