Module

Data.Date.Component.Gen

Package
purescript-datetime
Repository
purescript/purescript-datetime

#genYear Source

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

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

#genMonth Source

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

Generates a random Month component.

#genDay Source

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

Generates a random Day component.

#genWeekday Source

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

Generates a random Weekday component.