Name

time — Defines a time generator.

Synopsis

<time [min="minValue"] [max="maxValue"]/>
				

Description

This element defines a time generator. Generates random times from min to max (inclusive). The time must be specified in US locale (hh:mm PM or AM).

Attributes

min

The minimum time. If not specified, it will take "00:00 AM" as minimum time.

max

The maximum time. If not specified, it will take the "11:59 PM" as maximum time.

Example

Example 24. Time generator.

<project name="postgresqlTest">
	<metadata>
		<table name="table0">
			<generator row-count="10000" />
			...
			<column name="some_time" data-type="time">
				<generator>
					<time min="1:20 AM" max="6:30 PM" />
				</generator>
			</column>
			...
		</table>
		...
	</metadata>
	...
</project>