Package net.jqwik.time.api.arbitraries
Interface OffsetDateTimeArbitrary
- 
- All Superinterfaces:
- Arbitrary<java.time.OffsetDateTime>
 
 @API(status=EXPERIMENTAL, since="1.5.5") public interface OffsetDateTimeArbitrary extends Arbitrary<java.time.OffsetDateTime>Fluent interface to configure the generation of offset date time values. All generated offset date times use the Gregorian Calendar, even if they are before October 15, 1582. By default, offset date times with years between 1900 and 2500 are generated.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface net.jqwik.api.ArbitraryArbitrary.ArbitraryFacade
 
- 
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OffsetDateTimeArbitraryatTheEarliest(java.time.LocalDateTime min)Set the allowed lowermin(included) bounder of the local part of generated offset date time values.OffsetDateTimeArbitraryatTheLatest(java.time.LocalDateTime max)Set the allowed uppermax(included) bounder of the local part of generated offset date time values.default OffsetDateTimeArbitrarybetween(java.time.LocalDateTime min, java.time.LocalDateTime max)Set the allowed lowermin(included) and uppermax(included) bounder of the local part of generated offset date time values.OffsetDateTimeArbitrarydateBetween(java.time.LocalDate min, java.time.LocalDate max)Set the allowed lowermin(included) and uppermax(included) bounder of generated offset date values.OffsetDateTimeArbitrarydayOfMonthBetween(int min, int max)Set the allowed lowermin(included) and uppermax(included) bounder of generated day of month values.OffsetDateTimeArbitraryhourBetween(int min, int max)Set the allowed lowermin(included) and uppermax(included) bounder of generated hour values.OffsetDateTimeArbitraryminuteBetween(int min, int max)Set the allowed lowermin(included) and uppermax(included) bounder of generated minute values.default OffsetDateTimeArbitrarymonthBetween(int min, int max)Set the allowed lowermin(included) and uppermax(included) bounder of generated month values.OffsetDateTimeArbitrarymonthBetween(java.time.Month min, java.time.Month max)Set the allowed lowermin(included) and uppermax(included) bounder of generated month values.OffsetDateTimeArbitraryoffsetBetween(java.time.ZoneOffset min, java.time.ZoneOffset max)Set the allowed lowermin(included) and uppermax(included) bounder of generated offset values.OffsetDateTimeArbitraryofPrecision(java.time.temporal.ChronoUnit ofPrecision)Constrain the precision of generated values.OffsetDateTimeArbitraryonlyDaysOfWeek(java.time.DayOfWeek... daysOfWeek)Set an array of alloweddaysOfWeek.OffsetDateTimeArbitraryonlyMonths(java.time.Month... months)Set an array of allowedmonths.OffsetDateTimeArbitrarysecondBetween(int min, int max)Set the allowed lowermin(included) and uppermax(included) bounder of generated second values.OffsetDateTimeArbitrarytimeBetween(java.time.LocalTime min, java.time.LocalTime max)Set the allowed lowermin(included) and uppermax(included) bounder of generated offset time values.default OffsetDateTimeArbitraryyearBetween(int min, int max)Set the allowed lowermin(included) and uppermax(included) bounder of generated year values.OffsetDateTimeArbitraryyearBetween(java.time.Year min, java.time.Year max)Set the allowed lowermin(included) and uppermax(included) bounder of generated year values.- 
Methods inherited from interface net.jqwik.api.ArbitraryallValues, array, asGeneric, collect, dontShrink, edgeCases, edgeCases, edgeCases, exhaustive, exhaustive, filter, filter, fixGenSize, flatMap, forEachValue, generator, generator, generatorWithEmbeddedEdgeCases, ignoreException, injectDuplicates, injectNull, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCases
 
- 
 
- 
- 
- 
Method Detail- 
betweendefault OffsetDateTimeArbitrary between(java.time.LocalDateTime min, java.time.LocalDateTime max) Set the allowed lowermin(included) and 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.
 - 
atTheEarliestOffsetDateTimeArbitrary atTheEarliest(java.time.LocalDateTime min) Set 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.
 - 
atTheLatestOffsetDateTimeArbitrary atTheLatest(java.time.LocalDateTime max) Set 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.
 - 
dateBetweenOffsetDateTimeArbitrary dateBetween(java.time.LocalDate min, java.time.LocalDate max) Set the allowed lowermin(included) and uppermax(included) bounder of generated offset date values.
 - 
yearBetweenOffsetDateTimeArbitrary yearBetween(java.time.Year min, java.time.Year max) Set 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 dateBetween(LocalDate, LocalDate) assuming Jan 1 and Dec 31 as first and last day of those years. 
 - 
yearBetweendefault OffsetDateTimeArbitrary yearBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated year values. Theintvalues can be between1andYear.MAX_VALUE.Calling this method is equivalent to calling dateBetween(LocalDate, LocalDate) assuming Jan 1 and Dec 31 as first and last day of those years. 
 - 
monthBetweenOffsetDateTimeArbitrary monthBetween(java.time.Month min, java.time.Month max) Set the allowed lowermin(included) and uppermax(included) bounder of generated month values.
 - 
monthBetweendefault OffsetDateTimeArbitrary monthBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated month values. Theintvalues can be between 1 and 12.
 - 
onlyMonthsOffsetDateTimeArbitrary onlyMonths(java.time.Month... months) Set an array of allowedmonths.
 - 
dayOfMonthBetweenOffsetDateTimeArbitrary dayOfMonthBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated day of month values. Theintvalues can be between 1 and 31.
 - 
onlyDaysOfWeekOffsetDateTimeArbitrary onlyDaysOfWeek(java.time.DayOfWeek... daysOfWeek) Set an array of alloweddaysOfWeek.
 - 
timeBetweenOffsetDateTimeArbitrary timeBetween(java.time.LocalTime min, java.time.LocalTime max) Set 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.
 - 
hourBetweenOffsetDateTimeArbitrary hourBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated hour values. The hours can be between0and23.
 - 
minuteBetweenOffsetDateTimeArbitrary minuteBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated minute values. The minutes can be between0and59.
 - 
secondBetweenOffsetDateTimeArbitrary secondBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated second values. The minutes can be between0and59.
 - 
offsetBetweenOffsetDateTimeArbitrary offsetBetween(java.time.ZoneOffset min, java.time.ZoneOffset max) Set the allowed lowermin(included) and uppermax(included) bounder of generated offset values. The offsets can be between-12:00:00and+14:00:00.
 - 
ofPrecisionOffsetDateTimeArbitrary ofPrecision(java.time.temporal.ChronoUnit ofPrecision) Constrain 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.
 
- 
 
-