Package net.jqwik.time.api.arbitraries
Schnittstelle YearMonthArbitrary
@API(status=EXPERIMENTAL,
since="1.4.0")
public interface YearMonthArbitrary
extends Arbitrary<YearMonth>
Fluent interface to configure the generation of year and month values.
By default, year and months with years between 1900 and 2500 are generated.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen net.jqwik.api.Arbitrary
Arbitrary.ArbitraryFacade
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungatTheEarliest
(YearMonth min) Set the allowed lowermin
(included) bounder of generated year and month values.atTheLatest
(YearMonth max) Set the allowed uppermax
(included) bounder of generated year and month values.default YearMonthArbitrary
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated year and month values.default YearMonthArbitrary
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
.default YearMonthArbitrary
yearBetween
(int min, int max) Set the allowed lowermin
(included) and uppermax
(included) bounder of generated year values.yearBetween
(Year min, Year max) Set the allowed lowermin
(included) and uppermax
(included) bounder of generated year values.Von Schnittstelle geerbte Methoden net.jqwik.api.Arbitrary
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
-
Methodendetails
-
between
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated year and month values. -
atTheEarliest
Set the allowed lowermin
(included) bounder of generated year and month values. -
atTheLatest
Set the allowed uppermax
(included) bounder of generated year and month values. -
yearBetween
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated year values. The values can be between1
andYear.MAX_VALUE
. -
yearBetween
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated year values. Theint
values can be between1
andYear.MAX_VALUE
. -
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
.
-