Annotation Type DurationRange


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

    Applies to Duration 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:
        "PT-2562047788015215H-30M-8S"
      • max

        java.lang.String max
        Default:
        "PT2562047788015215H30M7.0S"