public class PastValidatorForLocalTime extends AbstractPastJavaTimeValidator<java.time.LocalTime>
java.time.LocalTime
passed is in the past.referenceClock
Constructor and Description |
---|
PastValidatorForLocalTime() |
Modifier and Type | Method and Description |
---|---|
protected java.time.LocalTime |
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
protected java.time.LocalTime getReferenceValue(java.time.Clock reference)
AbstractJavaTimeValidator
ClockProvider
.getReferenceValue
in class AbstractJavaTimeValidator<javax.validation.constraints.Past,java.time.LocalTime>
Copyright © 2007-2022 Red Hat, Inc. All Rights Reserved