Annotation Interface TimeValidator.TimeOfDay

Enclosing class:
TimeValidator

Constraint for a time of day.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Time after which this resource is accessible within a day.
    Time before which this resource is accessible within a day.
  • Element Details

    • from

      String from
      Time 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 to
      Time 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"