public class PastValidatorForCalendar extends AbstractPastInstantBasedValidator<Calendar>
java.util.Calendar
passed to be validated is in
the past.referenceClock
Constructor and Description |
---|
PastValidatorForCalendar() |
Modifier and Type | Method and Description |
---|---|
protected Instant |
getInstant(Calendar 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(Calendar value)
AbstractInstantBasedTimeValidator
Instant
measured from Epoch.getInstant
in class AbstractInstantBasedTimeValidator<Past,Calendar>
Copyright © 2021 JBoss by Red Hat. All rights reserved.