@Target(value={METHOD,FIELD,ANNOTATION_TYPE,CONSTRUCTOR,PARAMETER,TYPE_USE}) @Retention(value=RUNTIME) @Repeatable(value=Future.List.class) @Documented @Constraint(validatedBy={}) public @interface Future
By default, "now" is defined as the current time according to the virtual machine, applying the current default time
zone if needed. If required, an alternative ClockProvider can be specified when bootstrapping a validator
factory or validator, allowing to customize the Clock representing the current instant, date and time.
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.