Package io.helidon.security.abac.time
Annotation Interface TimeValidator.TimeOfDay
- Enclosing class:
TimeValidator
@Retention(RUNTIME)
@Target({METHOD,TYPE})
@Documented
@Inherited
@AbacAnnotation
@Repeatable(TimesOfDay.class)
public static @interface TimeValidator.TimeOfDay
Constraint for a time of day.
-
Optional Element Summary
-
Element Details
-
from
String fromTime after which this resource is accessible within a day.- Returns:
- String formatted as "HH:mm:ss.SSS" - hours, minutes, seconds and milliseconds, or "HH:mm:ss", or "HH:mm"
- Default:
"00:00:00"
-
to
String toTime before which this resource is accessible within a day.- Returns:
- String formatted as "HH:mm:ss.SSS" - hours, minutes, seconds and milliseconds, or "HH:mm:ss", or "HH:mm"
- Default:
"23:59:59.999"
-