-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes=java.time.Instant.class, validatorClass=FutureInstantConstraintValidator.class) @SelfDocumented public @interface Future
The annotated element must be an instant in the future.- Since:
- 0.1
- Author:
- nedis
- See Also:
FutureOrPresent,Past,PastOrPresent,TruncatedTime,FutureInstantConstraintValidator
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanoffAllows disabling the validation rule if this rule is inherited from super class.
-