plutus-ledger-api-1.39.0.0: Interface to the Plutus ledger for the Cardano ledger.
Safe HaskellSafe-Inferred
LanguageHaskell2010

PlutusLedgerApi.V1.Data.Time

Description

UTCTime and UTCTime ranges.

Synopsis

Documentation

newtype POSIXTime Source #

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

Instances details
Enum POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Generic POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Associated Types

type Rep POSIXTimeTypeType Source #

Num POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Integral POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Real POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Show POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

NFData POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Methods

rnfPOSIXTime → () Source #

Eq POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Ord POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

HasBlueprintDefinition POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Associated Types

type Unroll POSIXTime ∷ [Type] Source #

Enum POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Eq POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Methods

(==)POSIXTimePOSIXTimeBool Source #

FromData POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

ToData POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

UnsafeFromData POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

AdditiveGroup POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

AdditiveMonoid POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Methods

zeroPOSIXTime Source #

AdditiveSemigroup POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Ord POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Pretty POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Methods

prettyPOSIXTimeDoc ann Source #

prettyList ∷ [POSIXTime] → Doc ann Source #

HasBlueprintSchema POSIXTime referencedTypes Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Methods

schemaSchema referencedTypes Source #

Lift DefaultUni POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Typeable DefaultUni POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

type Rep POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

type Rep POSIXTime = D1 ('MetaData "POSIXTime" "PlutusLedgerApi.V1.Data.Time" "plutus-ledger-api-1.39.0.0-inplace" 'True) (C1 ('MetaCons "POSIXTime" 'PrefixI 'True) (S1 ('MetaSel ('Just "getPOSIXTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))
type Unroll POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

newtype DiffMilliSeconds Source #

This is a length of time, as measured by a number of milliseconds.

Instances

Instances details
Enum DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Generic DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Associated Types

type Rep DiffMilliSecondsTypeType Source #

Num DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Integral DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Real DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Show DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

NFData DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Methods

rnfDiffMilliSeconds → () Source #

Eq DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Ord DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

HasBlueprintDefinition DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Associated Types

type Unroll DiffMilliSeconds ∷ [Type] Source #

Eq DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

FromData DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

ToData DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

UnsafeFromData DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

AdditiveGroup DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

AdditiveMonoid DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

AdditiveSemigroup DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Ord DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

HasBlueprintSchema DiffMilliSeconds referencedTypes Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Methods

schemaSchema referencedTypes Source #

Lift DefaultUni DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

Typeable DefaultUni DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

type Rep DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time

type Rep DiffMilliSeconds = D1 ('MetaData "DiffMilliSeconds" "PlutusLedgerApi.V1.Data.Time" "plutus-ledger-api-1.39.0.0-inplace" 'True) (C1 ('MetaCons "DiffMilliSeconds" 'PrefixI 'False) (S1 ('MetaSel ('NothingMaybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))
type Unroll DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Data.Time