public class SqlTimestampRandomizer extends Object implements Randomizer<Timestamp>
Timestamp
.Constructor and Description |
---|
SqlTimestampRandomizer()
Create a new
SqlTimestampRandomizer . |
SqlTimestampRandomizer(long seed)
Create a new
SqlTimestampRandomizer . |
Modifier and Type | Method and Description |
---|---|
static SqlTimestampRandomizer |
aNewSqlTimestampRandomizer()
Create a new
SqlTimestampRandomizer . |
static SqlTimestampRandomizer |
aNewSqlTimestampRandomizer(long seed)
Create a new
SqlTimestampRandomizer . |
Timestamp |
getRandomValue()
Generate a random value for the given type.
|
public SqlTimestampRandomizer()
SqlTimestampRandomizer
.public SqlTimestampRandomizer(long seed)
SqlTimestampRandomizer
.seed
- initial seedpublic static SqlTimestampRandomizer aNewSqlTimestampRandomizer()
SqlTimestampRandomizer
.SqlTimestampRandomizer
.public static SqlTimestampRandomizer aNewSqlTimestampRandomizer(long seed)
SqlTimestampRandomizer
.seed
- initial seedSqlTimestampRandomizer
.public Timestamp getRandomValue()
Randomizer
getRandomValue
in interface Randomizer<Timestamp>
Copyright © 2016. All Rights Reserved.