Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
futureUTCTime :: Integral a => TimeSpan a -> IO UTCTime Source #
getCurrentTime
+/- offset
from unit test:
getCurrentTime futureUTCTime $ Milli 100 futureUTCTime $ Sec 3 2016-12-12 15:34:03.138798524 UTC 2016-12-12 15:34:03.23893359 UTC 2016-12-12 15:34:06.138978355 UTC
class PicoDiff a where Source #
Difference between times with pico precision
return TimeSpan for ease of conversion with Data.Time.Hora.Span