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