Interface YearArbitrary

  • All Superinterfaces:
    Arbitrary<java.time.Year>

    @API(status=EXPERIMENTAL,
         since="1.4.0")
    public interface YearArbitrary
    extends Arbitrary<java.time.Year>
    Fluent interface to configure the generation of Year values. By default, years between 1900 and 2500 are generated.
    • Method Detail

      • between

        YearArbitrary between​(java.time.Year min,
                              java.time.Year max)
        Set the allowed lower min (included) and upper max (included) bounder of generated year values.
      • between

        default YearArbitrary between​(int min,
                                      int max)
        Set the allowed lower min (included) and upper max (included) bounder of generated year values. The int values can be between Year.MIN_VALUE and Year.MAX_VALUE.