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