Package net.jqwik.time.api.arbitraries
Interface YearArbitrary
Fluent interface to configure the generation of Year values.
By default, years between 1900 and 2500 are generated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.jqwik.api.Arbitrary
Arbitrary.ArbitraryFacade
-
Method Summary
Modifier and TypeMethodDescriptiondefault YearArbitrary
between
(int min, int max) Set the allowed lowermin
(included) and uppermax
(included) bounder of generated year values.Set the allowed lowermin
(included) and uppermax
(included) bounder of generated year values.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, ignoreException, ignoreExceptions, 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 year values. -
between
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated year values. Theint
values can be betweenYear.MIN_VALUE
andYear.MAX_VALUE
.
-