Package org.apache.bval.constraints
Class PastOrPresentValidator<T extends Comparable<T>>
- java.lang.Object
-
- org.apache.bval.constraints.TimeValidator<jakarta.validation.constraints.PastOrPresent,T>
-
- org.apache.bval.constraints.PastOrPresentValidator<T>
-
- Type Parameters:
T
- validated type
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<jakarta.validation.constraints.PastOrPresent,T>
- Direct Known Subclasses:
PastOrPresentValidator.ForCalendar
,PastOrPresentValidator.ForChronoLocalDate
,PastOrPresentValidator.ForChronoLocalDateTime
,PastOrPresentValidator.ForChronoZonedDateTime
,PastOrPresentValidator.ForDate
,PastOrPresentValidator.ForInstant
,PastOrPresentValidator.ForLocalTime
,PastOrPresentValidator.ForMonthDay
,PastOrPresentValidator.ForOffsetDateTime
,PastOrPresentValidator.ForOffsetTime
,PastOrPresentValidator.ForYear
,PastOrPresentValidator.ForYearMonth
public abstract class PastOrPresentValidator<T extends Comparable<T>> extends TimeValidator<jakarta.validation.constraints.PastOrPresent,T>
Defines built-inConstraintValidator
implementations forPastOrPresent
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PastOrPresentValidator.ForCalendar
static class
PastOrPresentValidator.ForChronoLocalDate
static class
PastOrPresentValidator.ForChronoLocalDateTime
static class
PastOrPresentValidator.ForChronoZonedDateTime
static class
PastOrPresentValidator.ForDate
static class
PastOrPresentValidator.ForInstant
static class
PastOrPresentValidator.ForLocalTime
static class
PastOrPresentValidator.ForMonthDay
static class
PastOrPresentValidator.ForOffsetDateTime
static class
PastOrPresentValidator.ForOffsetTime
static class
PastOrPresentValidator.ForYear
static class
PastOrPresentValidator.ForYearMonth
-
Field Summary
-
Fields inherited from class org.apache.bval.constraints.TimeValidator
CHRONO_LOCAL_DATE_COMPARATOR, CHRONO_LOCAL_DATE_TIME_COMPARATOR, CHRONO_ZONED_DATE_TIME_COMPARATOR
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PastOrPresentValidator(Function<Clock,T> now)
protected
PastOrPresentValidator(Function<Clock,T> now, Comparator<? super T> cmp)
-