Class DayRandomizer
- java.lang.Object
-
- org.jeasy.random.randomizers.time.DayRandomizer
-
- All Implemented Interfaces:
Randomizer<java.lang.Integer>
public class DayRandomizer extends java.lang.Object implements Randomizer<java.lang.Integer>
- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
-
-
Constructor Summary
Constructors Constructor Description DayRandomizer()DayRandomizer(long seed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetRandomValue()Generate a random value for the given type.
-
-
-
Field Detail
-
MIN_DAY
public static final int MIN_DAY
- See Also:
- Constant Field Values
-
MAX_DAY
public static final int MAX_DAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRandomValue
public java.lang.Integer getRandomValue()
Description copied from interface:RandomizerGenerate a random value for the given type.- Specified by:
getRandomValuein interfaceRandomizer<java.lang.Integer>- Returns:
- a random value for the given type
-
-