| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
PlutusLedgerApi.V1.Data.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 POSIXTime
Constructors
| POSIXTime | |
Fields | |
Instances
newtype DiffMilliSeconds Source #
This is a length of time, as measured by a number of milliseconds.
Constructors
| DiffMilliSeconds Integer |
Instances
fromMilliSeconds ∷ DiffMilliSeconds → POSIXTime Source #
Simple conversion from DiffMilliSeconds to POSIXTime.