Class DayRandomizer
java.lang.Object
io.github.krandom.randomizers.time.DayRandomizer
- All Implemented Interfaces:
Randomizer<Integer>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerate a random value for the given type.
-
Field Details
-
MIN_DAY
public static final int MIN_DAY- See Also:
-
MAX_DAY
public static final int MAX_DAY- See Also:
-
-
Constructor Details
-
DayRandomizer
public DayRandomizer() -
DayRandomizer
public DayRandomizer(long seed)
-
-
Method Details
-
getRandomValue
Description copied from interface:Randomizer
Generate a random value for the given type.- Specified by:
getRandomValue
in interfaceRandomizer<Integer>
- Returns:
- a random value for the given type
-