Class LocalTimeRandomizer
-
- All Implemented Interfaces:
-
io.github.krandom.api.Randomizer
public class LocalTimeRandomizer implements Randomizer<T>
A Randomizer that generates random LocalTime.
Mahmoud Ben Hassine ([email protected])
-
-
Constructor Summary
Constructors Constructor Description LocalTimeRandomizer()
Create a new LocalTimeRandomizer. LocalTimeRandomizer(long seed)
Create a new LocalTimeRandomizer.
-
Method Summary
Modifier and Type Method Description LocalTime
getRandomValue()
Generate a random value for the given type. -
-
Constructor Detail
-
LocalTimeRandomizer
LocalTimeRandomizer()
Create a new LocalTimeRandomizer.
-
LocalTimeRandomizer
LocalTimeRandomizer(long seed)
Create a new LocalTimeRandomizer.- Parameters:
seed
- initial seed
-
-
Method Detail
-
getRandomValue
LocalTime getRandomValue()
Generate a random value for the given type.
- Returns:
a random value for the given type
-
-
-
-