Package net.jqwik.time.api.arbitraries
Interface OffsetTimeArbitrary
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.jqwik.api.Arbitrary
Arbitrary.ArbitraryFacade
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OffsetTimeArbitraryatTheEarliest(java.time.LocalTime min)Set the allowed lowermin(included) bounder of generated time values.OffsetTimeArbitraryatTheLatest(java.time.LocalTime max)Set the allowed uppermax(included) bounder of generated time values.default OffsetTimeArbitrarybetween(java.time.LocalTime min, java.time.LocalTime max)Set the allowed lowermin(included) and uppermax(included) bounder of generated time values.OffsetTimeArbitraryhourBetween(int min, int max)Set the allowed lowermin(included) and uppermax(included) bounder of generated hour values.OffsetTimeArbitraryminuteBetween(int min, int max)Set the allowed lowermin(included) and uppermax(included) bounder of generated minute values.OffsetTimeArbitraryoffsetBetween(java.time.ZoneOffset min, java.time.ZoneOffset max)Set the allowed lowermin(included) and uppermax(included) bounder of generated offset values.OffsetTimeArbitraryofPrecision(java.time.temporal.ChronoUnit ofPrecision)Constrain the precision of generated values.OffsetTimeArbitrarysecondBetween(int min, int max)Set the allowed lowermin(included) and uppermax(included) bounder of generated second 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, injectDuplicates, injectNull, iterator, list, map, optional, optional, sample, sampleStream, set, stream, tuple1, tuple2, tuple3, tuple4, tuple5, withoutEdgeCases
-
-
-
-
Method Detail
-
between
default OffsetTimeArbitrary between(java.time.LocalTime min, java.time.LocalTime max)
Set the allowed lowermin(included) and uppermax(included) bounder of generated 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.
-
atTheEarliest
OffsetTimeArbitrary atTheEarliest(java.time.LocalTime min)
Set the allowed lowermin(included) bounder of generated 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.
-
atTheLatest
OffsetTimeArbitrary atTheLatest(java.time.LocalTime max)
Set the allowed uppermax(included) bounder of generated 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.
-
hourBetween
OffsetTimeArbitrary hourBetween(int min, int max)
Set the allowed lowermin(included) and uppermax(included) bounder of generated hour values. The hours can be between0and23.
-
minuteBetween
OffsetTimeArbitrary minuteBetween(int min, int max)
Set the allowed lowermin(included) and uppermax(included) bounder of generated minute values. The minutes can be between0and59.
-
secondBetween
OffsetTimeArbitrary secondBetween(int min, int max)
Set the allowed lowermin(included) and uppermax(included) bounder of generated second values. The minutes can be between0and59.
-
offsetBetween
OffsetTimeArbitrary 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.
-
ofPrecision
OffsetTimeArbitrary 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.
-
-