Klasse DefaultLocalTimeArbitrary
java.lang.Object
net.jqwik.api.arbitraries.ArbitraryDecorator<LocalTime>
net.jqwik.time.internal.properties.arbitraries.DefaultLocalTimeArbitrary
- Alle implementierten Schnittstellen:
Cloneable,net.jqwik.api.Arbitrary<LocalTime>,LocalTimeArbitrary
@API(status=INTERNAL)
public class DefaultLocalTimeArbitrary
extends net.jqwik.api.arbitraries.ArbitraryDecorator<LocalTime>
implements LocalTimeArbitrary
-
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<LocalTime> atTheEarliest(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.static voidcheckTimeValueAndPrecision(LocalTime time, OfPrecision ofPrecision, boolean minimum) static LocalTimeeffectiveMax(LocalTimeBetween timeBetween, HourBetween hourBetween, MinuteBetween minuteBetween, SecondBetween secondBetween, OfPrecision ofPrecision) static LocalTimeeffectiveMin(LocalTimeBetween timeBetween, HourBetween hourBetween, MinuteBetween minuteBetween, SecondBetween secondBetween, OfPrecision ofPrecision) 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.static ChronoUnitofPrecisionFromNanos(int nanos) static ChronoUnitofPrecisionFromTime(LocalTime time) secondBetween(int min, int max) Set the allowed lowermin(included) and uppermax(included) bounder of generated second 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.LocalTimeArbitrary
between
-
Konstruktordetails
-
DefaultLocalTimeArbitrary
public DefaultLocalTimeArbitrary()
-
-
Methodendetails
-
arbitrary
- Angegeben von:
arbitraryin Klassenet.jqwik.api.arbitraries.ArbitraryDecorator<LocalTime>
-
effectiveMin
public static LocalTime effectiveMin(LocalTimeBetween timeBetween, HourBetween hourBetween, MinuteBetween minuteBetween, SecondBetween secondBetween, OfPrecision ofPrecision) -
checkTimeValueAndPrecision
public static void checkTimeValueAndPrecision(LocalTime time, OfPrecision ofPrecision, boolean minimum) -
effectiveMax
public static LocalTime effectiveMax(LocalTimeBetween timeBetween, HourBetween hourBetween, MinuteBetween minuteBetween, SecondBetween secondBetween, OfPrecision ofPrecision) -
ofPrecisionFromNanos
-
ofPrecisionFromTime
-
atTheEarliest
Beschreibung aus Schnittstelle kopiert:LocalTimeArbitrarySet 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.- Angegeben von:
atTheEarliestin SchnittstelleLocalTimeArbitrary
-
atTheLatest
Beschreibung aus Schnittstelle kopiert:LocalTimeArbitrarySet 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.- Angegeben von:
atTheLatestin SchnittstelleLocalTimeArbitrary
-
hourBetween
Beschreibung aus Schnittstelle kopiert:LocalTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated hour values. The hours can be between0and23.- Angegeben von:
hourBetweenin SchnittstelleLocalTimeArbitrary
-
minuteBetween
Beschreibung aus Schnittstelle kopiert:LocalTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated minute values. The minutes can be between0and59.- Angegeben von:
minuteBetweenin SchnittstelleLocalTimeArbitrary
-
secondBetween
Beschreibung aus Schnittstelle kopiert:LocalTimeArbitrarySet the allowed lowermin(included) and uppermax(included) bounder of generated second values. The minutes can be between0and59.- Angegeben von:
secondBetweenin SchnittstelleLocalTimeArbitrary
-
ofPrecision
Beschreibung aus Schnittstelle kopiert:LocalTimeArbitraryConstrain 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 SchnittstelleLocalTimeArbitrary
-