public class SqlTimestampRandomizer extends java.lang.Object implements Randomizer<java.sql.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 . |
java.sql.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 java.sql.Timestamp getRandomValue()
Randomizer
getRandomValue
in interface Randomizer<java.sql.Timestamp>
Copyright © 2019. All Rights Reserved.