Package net.jqwik.time.api.arbitraries
Interface MonthDayArbitrary
@API(status=EXPERIMENTAL,
since="1.4.0")
public interface MonthDayArbitrary
extends Arbitrary<MonthDay>
Fluent interface to configure the generation of month and day values.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.jqwik.api.Arbitrary
Arbitrary.ArbitraryFacade
-
Method Summary
Modifier and TypeMethodDescriptionatTheEarliest
(MonthDay min) Set the allowed lowermin
(included) bounder of generated month and day values.atTheLatest
(MonthDay max) Set the allowed uppermax
(included) bounder of generated month and day values.default MonthDayArbitrary
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated month and day values.dayOfMonthBetween
(int min, int max) Set the allowed lowermin
(included) and uppermax
(included) bounder of generated day of month values.default MonthDayArbitrary
monthBetween
(int min, int max) Set the allowed lowermin
(included) and uppermax
(included) bounder of generated month values.monthBetween
(Month min, Month max) Set the allowed lowermin
(included) and uppermax
(included) bounder of generated month values.onlyMonths
(Month... months) Set an array of allowedmonths
.Methods inherited from interface net.jqwik.api.Arbitrary
allValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generator, generatorWithEmbeddedEdgeCases, ignoreException, ignoreExceptions, injectDuplicates, injectNull, isGeneratorMemoizable, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCases
-
Method Details
-
between
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated month and day values. -
atTheEarliest
Set the allowed lowermin
(included) bounder of generated month and day values. -
atTheLatest
Set the allowed uppermax
(included) bounder of generated month and day values. -
monthBetween
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated month values. -
monthBetween
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated month values. Theint
values can be between 1 and 12. -
onlyMonths
Set an array of allowedmonths
. -
dayOfMonthBetween
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated day of month values. Theint
values can be between 1 and 31.
-