Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Timestamp range utility functions
Synopsis
- minTimestamp :: Timestamp
- maxTimestamp :: Timestamp
- midTimestamp :: Timestamp
- timestampRangeFromSeconds :: Integer -> Integer -> Range Timestamp
Documentation
minTimestamp :: Timestamp Source #
Minimal (earliest) timestamp used for the default Range Timestamp
maxTimestamp :: Timestamp Source #
Maximal (latest) timestamp used for the default Range Timestamp
midTimestamp :: Timestamp Source #
Median of minTimestamp
and maxTimestamp
.
Useful for testing (exactly half of generated dates will be before and after
this date).