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.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Default from time.
    static final String
    Default to time.
    static final TypeName
    Type of this interface.
  • Field Details

  • 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"