Class MonthDayRandomizer
java.lang.Object
org.jeasy.random.randomizers.time.MonthDayRandomizer
- All Implemented Interfaces:
Randomizer<java.time.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 TypeMethodDescriptionjava.time.MonthDay
Generate 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
public java.time.MonthDay getRandomValue()Description copied from interface:Randomizer
Generate a random value for the given type.- Specified by:
getRandomValue
in interfaceRandomizer<java.time.MonthDay>
- Returns:
- a random value for the given type
-