@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=Future.List.class) @Documented @Constraint(validatedBy={}) public @interface Future
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.
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 String message
public abstract Class<?>[] groups
public abstract boolean orPresent
Year, present would mean the whole current year.true if the present date should be considered validCopyright © 2007-2017 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0.