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