Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
UTCTime and UTCTime ranges.
Synopsis
- newtype POSIXTime = POSIXTime {}
- type POSIXTimeRange = Interval POSIXTime
- newtype DiffMilliSeconds = DiffMilliSeconds Integer
- fromMilliSeconds :: DiffMilliSeconds -> POSIXTime
Documentation
POSIX time is measured as the number of milliseconds since 1970-01-01T00:00:00Z.
This is not the same as Haskell's POSIXTime
Instances
newtype DiffMilliSeconds Source #
This is a length of time, as measured by a number of milliseconds.
Instances
fromMilliSeconds :: DiffMilliSeconds -> POSIXTime Source #
Simple conversion from DiffMilliSeconds
to POSIXTime
.