Class LocalTimeRandomizer
java.lang.Object
org.jeasy.random.randomizers.time.LocalTimeRandomizer
- All Implemented Interfaces:
Randomizer<LocalTime>
A
Randomizer that generates random LocalTime.- Author:
- Mahmoud Ben Hassine ([email protected])
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a newLocalTimeRandomizer.LocalTimeRandomizer(long seed) Create a newLocalTimeRandomizer. -
Method Summary
Modifier and TypeMethodDescriptionGenerate a random value for the given type.
-
Constructor Details
-
LocalTimeRandomizer
public LocalTimeRandomizer()Create a newLocalTimeRandomizer. -
LocalTimeRandomizer
public LocalTimeRandomizer(long seed) Create a newLocalTimeRandomizer.- Parameters:
seed- initial seed
-
-
Method Details
-
getRandomValue
Description copied from interface:RandomizerGenerate a random value for the given type.- Specified by:
getRandomValuein interfaceRandomizer<LocalTime>- Returns:
- a random value for the given type
-