Annotation Type OffsetRange


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

    Applies to OffsetDateTime, ZoneOffset and OffsetTime parameters which are also annotated with @ForAll.

    See Also:
    ForAll
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String max  
      java.lang.String min  
    • Element Detail

      • min

        java.lang.String min
        Default:
        "-12:00:00"
      • max

        java.lang.String max
        Default:
        "+14:00:00"