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