Safe Haskell | None |
---|---|
Language | Haskell2010 |
Since: 0.2.0
Documentation
Fake UTCTime
between 17-11-1858 and the current time. Note that
this function is not deterministic as the current time is not
constant. If you want deterministic output, use utcBetween
.
Fake Day
between 17-11-1858 and the current day. Note that
this function is not deterministic as the current time is not
constant. If you want deterministic output, use dayBetween
.
utcBetween :: UTCTime -> UTCTime -> Fake UTCTime Source #
Generates a random UTCTime in the range [from, to].
dayBetweenYears :: Integer -> Integer -> Fake Day Source #
Generates a random Day in the year range [from, to].