timestamp — Defines a timestamp generator.
<timestamp [min="minValue
"] [max="maxValue
"]/>
This element defines a timestamp generator. Generates random
timestamps from min
to max
(inclusive).
The timestamp must be specified in US locale
(mm/dd/yy hh:mm PM or AM).
The minimum timestamp. If not specified, it will take "1/1/1970 00:00 AM" as minimum.
The maximum timestamp. If not specified, it will take the current date and "11:59 PM" as maximum.
Example 25. Timestamp generator.
<project name="postgresqlTest"> <metadata> <table name="table0"> <generator row-count="10000" /> ... <column name="some_timestamp" data-type="timestamp"> <generator> <timestamp min="8/15/1984 1:20 AM" max="1/1/2012 6:30 PM" /> </generator> </column> ... </table> ... </metadata> ... </project>