Class MonthDayRandomizer
- java.lang.Object
-
- org.jeasy.random.randomizers.time.MonthDayRandomizer
-
- All Implemented Interfaces:
Randomizer<java.time.MonthDay>
public class MonthDayRandomizer extends java.lang.Object implements Randomizer<java.time.MonthDay>
ARandomizerthat generates randomMonthDay.- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
-
-
Constructor Summary
Constructors Constructor Description MonthDayRandomizer()Create a newMonthDayRandomizer.MonthDayRandomizer(long seed)Create a newMonthDayRandomizer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.time.MonthDaygetRandomValue()Generate a random value for the given type.
-
-
-
Constructor Detail
-
MonthDayRandomizer
public MonthDayRandomizer()
Create a newMonthDayRandomizer.
-
MonthDayRandomizer
public MonthDayRandomizer(long seed)
Create a newMonthDayRandomizer.- Parameters:
seed- initial seed
-
-
Method Detail
-
getRandomValue
public java.time.MonthDay getRandomValue()
Description copied from interface:RandomizerGenerate a random value for the given type.- Specified by:
getRandomValuein interfaceRandomizer<java.time.MonthDay>- Returns:
- a random value for the given type
-
-