| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
PlutusLedgerApi.V1.Time
Description
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 RepIsStuckError DiffMilliSeconds :: Type -> Type) (Rep DiffMilliSeconds)))
fromMilliSeconds :: DiffMilliSeconds -> POSIXTime #
Simple conversion from DiffMilliSeconds to POSIXTime.