Klasse DefaultOffsetDateTimeArbitrary
java.lang.Object
net.jqwik.api.arbitraries.ArbitraryDecorator<OffsetDateTime>
net.jqwik.time.internal.properties.arbitraries.DefaultOffsetDateTimeArbitrary
- Alle implementierten Schnittstellen:
Cloneable,net.jqwik.api.Arbitrary<OffsetDateTime>,OffsetDateTimeArbitrary
@API(status=INTERNAL)
public class DefaultOffsetDateTimeArbitrary
extends net.jqwik.api.arbitraries.ArbitraryDecorator<OffsetDateTime>
implements OffsetDateTimeArbitrary
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen net.jqwik.api.Arbitrary
net.jqwik.api.Arbitrary.ArbitraryFacade -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected net.jqwik.api.Arbitrary<OffsetDateTime> Set the allowed lowermin(included) bounder of the local part of generated offset date time values.atTheLatest(LocalDateTime max) Set the allowed uppermax(included) bounder of the local part of generated offset date time values.dateBetween(LocalDate min, LocalDate max) Set the allowed lowermin(included) and uppermax(included) bounder of generated offset date values.dayOfMonthBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated day of month values.hourBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated hour values.minuteBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated minute values.monthBetween(Month min, Month max) Set the allowed lowermin(included) and uppermax(included) bounder of generated month values.offsetBetween(ZoneOffset min, ZoneOffset max) Set the allowed lowermin(included) and uppermax(included) bounder of generated offset values.ofPrecision(ChronoUnit ofPrecision) Constrain the precision of generated values.onlyDaysOfWeek(DayOfWeek... daysOfWeek) Set an array of alloweddaysOfWeek.onlyMonths(Month... months) Set an array of allowedmonths.secondBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated second values.timeBetween(LocalTime min, LocalTime max) Set the allowed lowermin(included) and uppermax(included) bounder of generated offset time values.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.OffsetDateTimeArbitrary
between, monthBetween, yearBetween
-
Konstruktordetails
-
DefaultOffsetDateTimeArbitrary
public DefaultOffsetDateTimeArbitrary()
-
-
Methodendetails
-
arbitrary
- Angegeben von:
arbitraryin Klassenet.jqwik.api.arbitraries.ArbitraryDecorator<OffsetDateTime>
-
atTheEarliest
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet the allowed lowermin(included) bounder of the local part of generated offset date time values. If you don't explicitly set the precision and use min/max values with precision milliseconds/microseconds/nanoseconds, the precision of your min/max value is implicitly set.- Angegeben von:
atTheEarliestin SchnittstelleOffsetDateTimeArbitrary
-
atTheLatest
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet the allowed uppermax(included) bounder of the local part of generated offset date time values. If you don't explicitly set the precision and use min/max values with precision milliseconds/microseconds/nanoseconds, the precision of your min/max value is implicitly set.- Angegeben von:
atTheLatestin SchnittstelleOffsetDateTimeArbitrary
-
dateBetween
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated offset date values.- Angegeben von:
dateBetweenin SchnittstelleOffsetDateTimeArbitrary
-
yearBetween
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet 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 OffsetDateTimeArbitrary.dateBetween(LocalDate, LocalDate) assuming Jan 1 and Dec 31 as first and last day of those years.
- Angegeben von:
yearBetweenin SchnittstelleOffsetDateTimeArbitrary
-
monthBetween
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated month values.- Angegeben von:
monthBetweenin SchnittstelleOffsetDateTimeArbitrary
-
onlyMonths
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet an array of allowedmonths.- Angegeben von:
onlyMonthsin SchnittstelleOffsetDateTimeArbitrary
-
dayOfMonthBetween
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated day of month values. Theintvalues can be between 1 and 31.- Angegeben von:
dayOfMonthBetweenin SchnittstelleOffsetDateTimeArbitrary
-
onlyDaysOfWeek
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet an array of alloweddaysOfWeek.- Angegeben von:
onlyDaysOfWeekin SchnittstelleOffsetDateTimeArbitrary
-
timeBetween
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated offset time values. If you don't explicitly set the precision and use min/max values with precision milliseconds/microseconds/nanoseconds, the precision of your min/max value is implicitly set.- Angegeben von:
timeBetweenin SchnittstelleOffsetDateTimeArbitrary
-
hourBetween
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated hour values. The hours can be between0and23.- Angegeben von:
hourBetweenin SchnittstelleOffsetDateTimeArbitrary
-
minuteBetween
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated minute values. The minutes can be between0and59.- Angegeben von:
minuteBetweenin SchnittstelleOffsetDateTimeArbitrary
-
secondBetween
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated second values. The minutes can be between0and59.- Angegeben von:
secondBetweenin SchnittstelleOffsetDateTimeArbitrary
-
offsetBetween
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated offset values. The offsets can be between-12:00:00and+14:00:00.- Angegeben von:
offsetBetweenin SchnittstelleOffsetDateTimeArbitrary
-
ofPrecision
Beschreibung aus Schnittstelle kopiert:OffsetDateTimeArbitraryConstrain the precision of generated values. Default value: Seconds. If you don't explicitly set the precision and use min/max values with precision milliseconds/microseconds/nanoseconds, the precision of your min/max value is implicitly set.- Angegeben von:
ofPrecisionin SchnittstelleOffsetDateTimeArbitrary
-