Copyright | © 2018-2020 IOHK |
---|---|
License | Apache-2.0 |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Utility functions for manipulating time values.
Synopsis
- utcTimePred :: UTCTime -> UTCTime
- utcTimeSucc :: UTCTime -> UTCTime
Documentation
utcTimePred :: UTCTime -> UTCTime Source #
For a given time
t0
, get the closest representable time
t1
to
t0
for which 't1 < t0'.
utcTimeSucc :: UTCTime -> UTCTime Source #
For a given time
t0
, get the closest representable time
t1
to
t0
for which 't0 < t1'.