Arbitrary.ArbitraryFacade
Modifier and Type | Method and Description |
---|---|
OffsetTimeArbitrary |
atTheEarliest(java.time.LocalTime min)
Set the allowed lower
min (included) bounder of generated time values. |
OffsetTimeArbitrary |
atTheLatest(java.time.LocalTime max)
Set the allowed upper
max (included) bounder of generated time values. |
default OffsetTimeArbitrary |
between(java.time.LocalTime min,
java.time.LocalTime max)
Set the allowed lower
min (included) and upper max (included) bounder of generated time values. |
OffsetTimeArbitrary |
hourBetween(int min,
int max)
Set the allowed lower
min (included) and upper max (included) bounder of generated hour values. |
OffsetTimeArbitrary |
minuteBetween(int min,
int max)
Set the allowed lower
min (included) and upper max (included) bounder of generated minute values. |
OffsetTimeArbitrary |
offsetBetween(java.time.ZoneOffset min,
java.time.ZoneOffset max)
Set the allowed lower
min (included) and upper max (included) bounder of generated offset values. |
OffsetTimeArbitrary |
ofPrecision(java.time.temporal.ChronoUnit ofPrecision)
Constrain the precision of generated values.
|
OffsetTimeArbitrary |
secondBetween(int min,
int max)
Set the allowed lower
min (included) and upper max (included) bounder of generated second values. |
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
default OffsetTimeArbitrary between(java.time.LocalTime min, java.time.LocalTime max)
min
(included) and upper max
(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.OffsetTimeArbitrary atTheEarliest(java.time.LocalTime min)
min
(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.OffsetTimeArbitrary atTheLatest(java.time.LocalTime max)
max
(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.OffsetTimeArbitrary hourBetween(int min, int max)
min
(included) and upper max
(included) bounder of generated hour values.
The hours can be between 0
and 23
.OffsetTimeArbitrary minuteBetween(int min, int max)
min
(included) and upper max
(included) bounder of generated minute values.
The minutes can be between 0
and 59
.OffsetTimeArbitrary secondBetween(int min, int max)
min
(included) and upper max
(included) bounder of generated second values.
The minutes can be between 0
and 59
.OffsetTimeArbitrary offsetBetween(java.time.ZoneOffset min, java.time.ZoneOffset max)
min
(included) and upper max
(included) bounder of generated offset values.
The offsets can be between -12:00:00
and +14:00:00
.OffsetTimeArbitrary ofPrecision(java.time.temporal.ChronoUnit ofPrecision)