Safe Haskell | None |
---|---|
Language | Haskell2010 |
Plutus.V1.Ledger.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
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
.