-
@Documented @Retention(SOURCE) @Target({FIELD,METHOD,PARAMETER}) @ConstraintRule(supportedTypes=java.time.Instant.class, validatorClass=TruncatedTimeInstantConstraintValidator.class) @SelfDocumented public @interface TruncatedTime
The annotated element must be an instant with truncated time value.- Author:
- nedis
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanoffAllows to disable validation rule if validation inherited from super class.TruncatedTime.Truncatedvalue
-
-
-
-
value
TruncatedTime.Truncated value
- Returns:
Truncatedmode
- Default:
- io.rxmicro.validation.constraint.TruncatedTime.Truncated.MILLIS
-
-