Klasse DefaultLocalDateArbitrary
java.lang.Object
net.jqwik.api.arbitraries.ArbitraryDecorator<LocalDate>
net.jqwik.time.internal.properties.arbitraries.DefaultLocalDateArbitrary
- Alle implementierten Schnittstellen:
Cloneable,net.jqwik.api.Arbitrary<LocalDate>,LocalDateArbitrary
@API(status=INTERNAL)
public class DefaultLocalDateArbitrary
extends net.jqwik.api.arbitraries.ArbitraryDecorator<LocalDate>
implements LocalDateArbitrary
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen net.jqwik.api.Arbitrary
net.jqwik.api.Arbitrary.ArbitraryFacade -
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected net.jqwik.api.Arbitrary<LocalDate> atTheEarliest(LocalDate min) Set the allowed lowermin(included) bounder of generated local date values.atTheLatest(LocalDate max) Set the allowed uppermax(included) bounder of generated local date values.dayOfMonthBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated day of month values.static booleanisLeapYear(int year) static booleanleapYearPossible(int min, int max) monthBetween(Month min, Month max) Set the allowed lowermin(included) and uppermax(included) bounder of generated month values.onlyDaysOfWeek(DayOfWeek... daysOfWeek) Set an array of alloweddaysOfWeek.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.Von Klasse geerbte Methoden net.jqwik.api.arbitraries.ArbitraryDecorator
edgeCases, exhaustive, generator, generatorWithEmbeddedEdgeCases, isGeneratorMemoizable, toString, typedCloneVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitVon 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, withoutEdgeCasesVon Schnittstelle geerbte Methoden net.jqwik.time.api.arbitraries.LocalDateArbitrary
between, monthBetween, yearBetween
-
Felddetails
-
DEFAULT_MIN_DATE
-
DEFAULT_MAX_DATE
-
-
Konstruktordetails
-
DefaultLocalDateArbitrary
public DefaultLocalDateArbitrary()
-
-
Methodendetails
-
arbitrary
- Angegeben von:
arbitraryin Klassenet.jqwik.api.arbitraries.ArbitraryDecorator<LocalDate>
-
leapYearPossible
public static boolean leapYearPossible(int min, int max) -
isLeapYear
public static boolean isLeapYear(int year) -
atTheEarliest
Beschreibung aus Schnittstelle kopiert:LocalDateArbitrarySet the allowed lowermin(included) bounder of generated local date values.- Angegeben von:
atTheEarliestin SchnittstelleLocalDateArbitrary
-
atTheLatest
Beschreibung aus Schnittstelle kopiert:LocalDateArbitrarySet the allowed uppermax(included) bounder of generated local date values.- Angegeben von:
atTheLatestin SchnittstelleLocalDateArbitrary
-
yearBetween
Beschreibung aus Schnittstelle kopiert:LocalDateArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated year values. The years can be between1andYear.MAX_VALUE.Calling this method is equivalent to calling LocalDateArbitrary.between(LocalDate, LocalDate) assuming Jan 1 and Dec 31 as first and last day of those years.
- Angegeben von:
yearBetweenin SchnittstelleLocalDateArbitrary
-
monthBetween
Beschreibung aus Schnittstelle kopiert:LocalDateArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated month values.- Angegeben von:
monthBetweenin SchnittstelleLocalDateArbitrary
-
onlyMonths
Beschreibung aus Schnittstelle kopiert:LocalDateArbitrarySet an array of allowedmonths.- Angegeben von:
onlyMonthsin SchnittstelleLocalDateArbitrary
-
dayOfMonthBetween
Beschreibung aus Schnittstelle kopiert:LocalDateArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated day of month values. Theintvalues can be between 1 and 31.- Angegeben von:
dayOfMonthBetweenin SchnittstelleLocalDateArbitrary
-
onlyDaysOfWeek
Beschreibung aus Schnittstelle kopiert:LocalDateArbitrarySet an array of alloweddaysOfWeek.- Angegeben von:
onlyDaysOfWeekin SchnittstelleLocalDateArbitrary
-