Annotation Type HourRange


  • @Target({ANNOTATION_TYPE,PARAMETER,TYPE_USE})
    @Retention(RUNTIME)
    @Documented
    @API(status=EXPERIMENTAL,
         since="1.5.1")
    public @interface HourRange
    Constrain the range of generated hour parameters.

    Applies to LocalTime and OffsetTime parameters which are also annotated with @ForAll.

    See Also:
    ForAll, TimeRange, OffsetRange, MinuteRange, SecondRange, Precision
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      int max  
      int min  
    • Element Detail

      • min

        int min
        Default:
        0
      • max

        int max
        Default:
        23