Interface MonthDayArbitrary

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

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

      • between

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

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

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

        MonthDayArbitrary monthBetween​(java.time.Month min,
                                       java.time.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​(java.time.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.