@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE})
@Retention(value=RUNTIME)
@Repeatable(value=PastOrPresent.List.class)
@Documented
@Constraint(validatedBy={})
public @interface PastOrPresent
Now is defined by the ClockProvider attached to the Validator or
ValidatorFactory. The default clockProvider defines the current time
according to the virtual machine, applying the current default time zone if needed.
The notion of present is defined relatively to the type on which the constraint is
used. For instance, if the constraint is on a Year, present would mean the whole
current year.
Supported types are:
java.util.Datejava.util.Calendarjava.time.Instantjava.time.LocalDatejava.time.LocalDateTimejava.time.LocalTimejava.time.MonthDayjava.time.OffsetDateTimejava.time.OffsetTimejava.time.Yearjava.time.YearMonthjava.time.ZonedDateTimejava.time.chrono.HijrahDatejava.time.chrono.JapaneseDatejava.time.chrono.MinguoDatejava.time.chrono.ThaiBuddhistDate
null elements are considered valid.
public abstract java.lang.String message
public abstract java.lang.Class<? extends Payload>[] payload