Class DefaultOffsetTimeArbitrary
java.lang.Object
net.jqwik.api.arbitraries.ArbitraryDecorator<OffsetTime>
net.jqwik.time.internal.properties.arbitraries.DefaultOffsetTimeArbitrary
- All Implemented Interfaces:
Cloneable,net.jqwik.api.Arbitrary<OffsetTime>,OffsetTimeArbitrary
@API(status=INTERNAL)
public class DefaultOffsetTimeArbitrary
extends net.jqwik.api.arbitraries.ArbitraryDecorator<OffsetTime>
implements OffsetTimeArbitrary
-
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<OffsetTime>atTheEarliest(LocalTime min) Set the allowed lowermin(included) bounder of generated time values.atTheLatest(LocalTime max) Set the allowed uppermax(included) bounder of generated time 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.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.secondBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated second 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.OffsetTimeArbitrary
between
-
Constructor Details
-
DefaultOffsetTimeArbitrary
public DefaultOffsetTimeArbitrary()
-
-
Method Details
-
arbitrary
- Specified by:
arbitraryin classnet.jqwik.api.arbitraries.ArbitraryDecorator<OffsetTime>
-
atTheEarliest
Description copied from interface:OffsetTimeArbitrarySet 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.- Specified by:
atTheEarliestin interfaceOffsetTimeArbitrary
-
atTheLatest
Description copied from interface:OffsetTimeArbitrarySet 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.- Specified by:
atTheLatestin interfaceOffsetTimeArbitrary
-
hourBetween
Description copied from interface:OffsetTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated hour values. The hours can be between0and23.- Specified by:
hourBetweenin interfaceOffsetTimeArbitrary
-
minuteBetween
Description copied from interface:OffsetTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated minute values. The minutes can be between0and59.- Specified by:
minuteBetweenin interfaceOffsetTimeArbitrary
-
secondBetween
Description copied from interface:OffsetTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated second values. The minutes can be between0and59.- Specified by:
secondBetweenin interfaceOffsetTimeArbitrary
-
offsetBetween
Description copied from interface:OffsetTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated offset values. The offsets can be between-12:00:00and+14:00:00.- Specified by:
offsetBetweenin interfaceOffsetTimeArbitrary
-
ofPrecision
Description copied from interface:OffsetTimeArbitraryConstrain 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.- Specified by:
ofPrecisionin interfaceOffsetTimeArbitrary
-