Arbitrary.ArbitraryFacade
Modifier and Type | Method and Description |
---|---|
MonthDayArbitrary |
atTheEarliest(java.time.MonthDay min)
Set the allowed lower
min (included) bounder of generated month and day values. |
MonthDayArbitrary |
atTheLatest(java.time.MonthDay max)
Set the allowed upper
max (included) bounder of generated month and day values. |
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. |
MonthDayArbitrary |
dayOfMonthBetween(int min,
int max)
Set the allowed lower
min (included) and upper max (included) bounder of generated day of month values. |
default MonthDayArbitrary |
monthBetween(int min,
int max)
Set the allowed lower
min (included) and upper max (included) bounder of generated month values. |
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. |
MonthDayArbitrary |
onlyMonths(java.time.Month... months)
Set an array of allowed
months . |
allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generator, generatorWithEmbeddedEdgeCases, ignoreException, ignoreException, ignoreExceptions, ignoreExceptions, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCases
default MonthDayArbitrary between(java.time.MonthDay min, java.time.MonthDay max)
min
(included) and upper max
(included) bounder of generated month and day values.MonthDayArbitrary atTheEarliest(java.time.MonthDay min)
min
(included) bounder of generated month and day values.MonthDayArbitrary atTheLatest(java.time.MonthDay max)
max
(included) bounder of generated month and day values.MonthDayArbitrary monthBetween(java.time.Month min, java.time.Month max)
min
(included) and upper max
(included) bounder of generated month values.default MonthDayArbitrary monthBetween(int min, int max)
min
(included) and upper max
(included) bounder of generated month values.
The int
values can be between 1 and 12.MonthDayArbitrary onlyMonths(java.time.Month... months)
months
.MonthDayArbitrary dayOfMonthBetween(int min, int max)
min
(included) and upper max
(included) bounder of generated day of month values.
The int
values can be between 1 and 31.