Schnittstelle MonthDayArbitrary

Alle Superschnittstellen:
Arbitrary<MonthDay>

@API(status=EXPERIMENTAL, since="1.4.0") public interface MonthDayArbitrary extends Arbitrary<MonthDay>
Fluent interface to configure the generation of month and day values.
  • Methodendetails

    • between

      default MonthDayArbitrary between(MonthDay min, MonthDay max)
      Set the allowed lower min (included) and upper max (included) bounder of generated month and day values.
    • atTheEarliest

      MonthDayArbitrary atTheEarliest(MonthDay min)
      Set the allowed lower min (included) bounder of generated month and day values.
    • atTheLatest

      MonthDayArbitrary atTheLatest(MonthDay max)
      Set the allowed upper max (included) bounder of generated month and day values.
    • monthBetween

      MonthDayArbitrary monthBetween(Month min, Month max)
      Set the allowed lower min (included) and upper max (included) bounder of generated month values.
    • monthBetween

      default MonthDayArbitrary monthBetween(int min, int max)
      Set the allowed lower min (included) and upper max (included) bounder of generated month values. The int values can be between 1 and 12.
    • onlyMonths

      MonthDayArbitrary onlyMonths(Month... months)
      Set an array of allowed months.
    • dayOfMonthBetween

      MonthDayArbitrary dayOfMonthBetween(int min, int max)
      Set the allowed lower min (included) and upper max (included) bounder of generated day of month values. The int values can be between 1 and 31.