@API(status=EXPERIMENTAL, since="1.4.0") public interface YearMonthArbitrary extends Arbitrary<java.time.YearMonth>
Arbitrary.ArbitraryFacade
Modifier and Type | Method and Description |
---|---|
YearMonthArbitrary |
atTheEarliest(java.time.YearMonth min)
Set the allowed lower
min (included) bounder of generated year and month values. |
YearMonthArbitrary |
atTheLatest(java.time.YearMonth max)
Set the allowed upper
max (included) bounder of generated year and month values. |
default YearMonthArbitrary |
between(java.time.YearMonth min,
java.time.YearMonth max)
Set the allowed lower
min (included) and upper max (included) bounder of generated year and month values. |
default YearMonthArbitrary |
monthBetween(int min,
int max)
Set the allowed lower
min (included) and upper max (included) bounder of generated month values. |
YearMonthArbitrary |
monthBetween(java.time.Month min,
java.time.Month max)
Set the allowed lower
min (included) and upper max (included) bounder of generated month values. |
YearMonthArbitrary |
onlyMonths(java.time.Month... months)
Set an array of allowed
months . |
default YearMonthArbitrary |
yearBetween(int min,
int max)
Set the allowed lower
min (included) and upper max (included) bounder of generated year values. |
YearMonthArbitrary |
yearBetween(java.time.Year min,
java.time.Year max)
Set the allowed lower
min (included) and upper max (included) bounder of generated year values. |
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 YearMonthArbitrary between(java.time.YearMonth min, java.time.YearMonth max)
min
(included) and upper max
(included) bounder of generated year and month values.YearMonthArbitrary atTheEarliest(java.time.YearMonth min)
min
(included) bounder of generated year and month values.YearMonthArbitrary atTheLatest(java.time.YearMonth max)
max
(included) bounder of generated year and month values.YearMonthArbitrary yearBetween(java.time.Year min, java.time.Year max)
min
(included) and upper max
(included) bounder of generated year values.
The values can be between 1
and Year.MAX_VALUE
.default YearMonthArbitrary yearBetween(int min, int max)
min
(included) and upper max
(included) bounder of generated year values.
The int
values can be between 1
and Year.MAX_VALUE
.YearMonthArbitrary monthBetween(java.time.Month min, java.time.Month max)
min
(included) and upper max
(included) bounder of generated month values.default YearMonthArbitrary 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.YearMonthArbitrary onlyMonths(java.time.Month... months)
months
.