Module

Data.DateTime.Gen

#genDateTime

genDateTime :: forall m. MonadGen m => m DateTime

Generates a random DateTime between 1st Jan 1900 00:00:00 and 31st Dec 2100 23:59:59, inclusive.

Re-exports from Data.Date.Gen

#genYear

genYear :: forall m. MonadGen m => m Year

Generates a random Year in the range 1900-2100, inclusive.

#genWeekday

genWeekday :: forall m. MonadGen m => m Weekday

Generates a random Weekday component.

#genMonth

genMonth :: forall m. MonadGen m => m Month

Generates a random Month component.

#genDay

genDay :: forall m. MonadGen m => m Day

Generates a random Day component.

#genDate

genDate :: forall m. MonadGen m => m Date

Generates a random Date between 1st Jan 1900 and 31st Dec 2100, inclusive.

Re-exports from Data.Time.Gen

#genTime

genTime :: forall m. MonadGen m => m Time

Generates a random Time between 00:00:00 and 23:59:59, inclusive.

#genSecond

genSecond :: forall m. MonadGen m => m Second

Generates a random Second component.

#genMinute

genMinute :: forall m. MonadGen m => m Minute

Generates a random Minute component.

#genMillisecond

genMillisecond :: forall m. MonadGen m => m Millisecond

Generates a random Millisecond component.

#genHour

genHour :: forall m. MonadGen m => m Hour

Generates a random Hour component.

Modules