Package org.apache.bval.constraints
Class FutureOrPresentValidator<T extends Comparable<T>>
- java.lang.Object
-
- org.apache.bval.constraints.TimeValidator<jakarta.validation.constraints.FutureOrPresent,T>
-
- org.apache.bval.constraints.FutureOrPresentValidator<T>
-
- Type Parameters:
T
- validated type
- All Implemented Interfaces:
jakarta.validation.ConstraintValidator<jakarta.validation.constraints.FutureOrPresent,T>
- Direct Known Subclasses:
FutureOrPresentValidator.ForCalendar
,FutureOrPresentValidator.ForChronoLocalDate
,FutureOrPresentValidator.ForChronoLocalDateTime
,FutureOrPresentValidator.ForChronoZonedDateTime
,FutureOrPresentValidator.ForDate
,FutureOrPresentValidator.ForInstant
,FutureOrPresentValidator.ForLocalTime
,FutureOrPresentValidator.ForMonthDay
,FutureOrPresentValidator.ForOffsetDateTime
,FutureOrPresentValidator.ForOffsetTime
,FutureOrPresentValidator.ForYear
,FutureOrPresentValidator.ForYearMonth
public abstract class FutureOrPresentValidator<T extends Comparable<T>> extends TimeValidator<jakarta.validation.constraints.FutureOrPresent,T>
Defines built-inConstraintValidator
implementations forFutureOrPresent
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FutureOrPresentValidator.ForCalendar
static class
FutureOrPresentValidator.ForChronoLocalDate
static class
FutureOrPresentValidator.ForChronoLocalDateTime
static class
FutureOrPresentValidator.ForChronoZonedDateTime
static class
FutureOrPresentValidator.ForDate
static class
FutureOrPresentValidator.ForInstant
static class
FutureOrPresentValidator.ForLocalTime
static class
FutureOrPresentValidator.ForMonthDay
static class
FutureOrPresentValidator.ForOffsetDateTime
static class
FutureOrPresentValidator.ForOffsetTime
static class
FutureOrPresentValidator.ForYear
static class
FutureOrPresentValidator.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
FutureOrPresentValidator(Function<Clock,T> now)
protected
FutureOrPresentValidator(Function<Clock,T> now, Comparator<? super T> cmp)
-