Module

Data.Time.Duration.Gen

Package
purescript-datetime
Repository
purescript/purescript-datetime

#genMilliseconds Source

genMilliseconds :: forall m. MonadGen m => m Milliseconds

Generates a random Milliseconds duration, up to 10 minutes.

#genSeconds Source

genSeconds :: forall m. MonadGen m => m Seconds

Generates a random Seconds duration, up to 10 minutes.

#genMinutes Source

genMinutes :: forall m. MonadGen m => m Minutes

Generates a random Seconds duration, up to 10 hours.

#genHours Source

genHours :: forall m. MonadGen m => m Hours

Generates a random Hours duration, up to 10 days.

#genDays Source

genDays :: forall m. MonadGen m => m Days

Generates a random Days duration, up to 6 weeks.