Package net.jqwik.time.api.arbitraries
Schnittstelle LocalTimeArbitrary
@API(status=EXPERIMENTAL,
since="1.5.1")
public interface LocalTimeArbitrary
extends Arbitrary<LocalTime>
Fluent interface to configure the generation of local time values.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen net.jqwik.api.Arbitrary
Arbitrary.ArbitraryFacade
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungatTheEarliest
(LocalTime min) Set the allowed lowermin
(included) bounder of generated local time values.atTheLatest
(LocalTime max) Set the allowed uppermax
(included) bounder of generated local time values.default LocalTimeArbitrary
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated local 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.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.Von 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, withoutEdgeCases
-
Methodendetails
-
between
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated local 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
Set the allowed lowermin
(included) bounder of generated local 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
Set the allowed uppermax
(included) bounder of generated local 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
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated hour values. The hours can be between0
and23
. -
minuteBetween
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated minute values. The minutes can be between0
and59
. -
secondBetween
Set the allowed lowermin
(included) and uppermax
(included) bounder of generated second values. The minutes can be between0
and59
. -
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.
-