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