public class InstantRangeRandomizer extends AbstractRangeRandomizer<java.time.Instant>
random| Constructor and Description |
|---|
InstantRangeRandomizer(java.time.Instant min,
java.time.Instant max)
Create a new
InstantRangeRandomizer. |
InstantRangeRandomizer(java.time.Instant min,
java.time.Instant max,
long seed)
Create a new
InstantRangeRandomizer. |
| Modifier and Type | Method and Description |
|---|---|
static InstantRangeRandomizer |
aNewInstantRangeRandomizer(java.time.Instant min,
java.time.Instant max)
Create a new
InstantRangeRandomizer. |
static InstantRangeRandomizer |
aNewInstantRangeRandomizer(java.time.Instant min,
java.time.Instant max,
long seed)
Create a new
InstantRangeRandomizer. |
protected void |
checkValues() |
protected java.time.Instant |
getDefaultMaxValue() |
protected java.time.Instant |
getDefaultMinValue() |
java.time.Instant |
getRandomValue()
Generate a random value for the given type.
|
getPredefinedValuesOf, nextDouble, toStringpublic InstantRangeRandomizer(java.time.Instant min,
java.time.Instant max)
InstantRangeRandomizer.min - min valuemax - max valuepublic InstantRangeRandomizer(java.time.Instant min,
java.time.Instant max,
long seed)
InstantRangeRandomizer.min - min valuemax - max valueseed - initial seedpublic static InstantRangeRandomizer aNewInstantRangeRandomizer(java.time.Instant min, java.time.Instant max)
InstantRangeRandomizer.min - min valuemax - max valueInstantRangeRandomizer.public static InstantRangeRandomizer aNewInstantRangeRandomizer(java.time.Instant min, java.time.Instant max, long seed)
InstantRangeRandomizer.min - min valuemax - max valueseed - initial seedInstantRangeRandomizer.protected void checkValues()
checkValues in class AbstractRangeRandomizer<java.time.Instant>protected java.time.Instant getDefaultMinValue()
getDefaultMinValue in class AbstractRangeRandomizer<java.time.Instant>protected java.time.Instant getDefaultMaxValue()
getDefaultMaxValue in class AbstractRangeRandomizer<java.time.Instant>public java.time.Instant getRandomValue()
RandomizerCopyright © 2020. All Rights Reserved.