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