Schnittstelle YearArbitrary

Alle Superschnittstellen:
Arbitrary<Year>

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

    • between

      YearArbitrary between(Year min, 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.