Class DefaultYearMonthArbitrary
java.lang.Object
net.jqwik.api.arbitraries.ArbitraryDecorator<YearMonth>
net.jqwik.time.internal.properties.arbitraries.DefaultYearMonthArbitrary
- All Implemented Interfaces:
Cloneable,net.jqwik.api.Arbitrary<YearMonth>,YearMonthArbitrary
@API(status=INTERNAL)
public class DefaultYearMonthArbitrary
extends net.jqwik.api.arbitraries.ArbitraryDecorator<YearMonth>
implements YearMonthArbitrary
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.jqwik.api.Arbitrary
net.jqwik.api.Arbitrary.ArbitraryFacade -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected net.jqwik.api.Arbitrary<YearMonth>atTheEarliest(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.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.yearBetween(Year min, Year max) Set the allowed lowermin(included) and uppermax(included) bounder of generated year values.Methods inherited from class net.jqwik.api.arbitraries.ArbitraryDecorator
edgeCases, exhaustive, generator, generatorWithEmbeddedEdgeCases, isGeneratorMemoizable, toString, typedCloneMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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, withoutEdgeCasesMethods inherited from interface net.jqwik.time.api.arbitraries.YearMonthArbitrary
between, monthBetween, yearBetween
-
Constructor Details
-
DefaultYearMonthArbitrary
public DefaultYearMonthArbitrary()
-
-
Method Details
-
arbitrary
- Specified by:
arbitraryin classnet.jqwik.api.arbitraries.ArbitraryDecorator<YearMonth>
-
atTheEarliest
Description copied from interface:YearMonthArbitrarySet the allowed lowermin(included) bounder of generated year and month values.- Specified by:
atTheEarliestin interfaceYearMonthArbitrary
-
atTheLatest
Description copied from interface:YearMonthArbitrarySet the allowed uppermax(included) bounder of generated year and month values.- Specified by:
atTheLatestin interfaceYearMonthArbitrary
-
yearBetween
Description copied from interface:YearMonthArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated year values. The values can be between1andYear.MAX_VALUE.- Specified by:
yearBetweenin interfaceYearMonthArbitrary
-
monthBetween
Description copied from interface:YearMonthArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated month values.- Specified by:
monthBetweenin interfaceYearMonthArbitrary
-
onlyMonths
Description copied from interface:YearMonthArbitrarySet an array of allowedmonths.- Specified by:
onlyMonthsin interfaceYearMonthArbitrary
-