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

PlutusLedgerApi.V1.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 

Instances

Instances details
Enum POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Generic POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Associated Types

type Rep POSIXTime :: Type -> Type Source #

Num POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Integral POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Real POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Show POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

NFData POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Methods

rnf :: POSIXTime -> () Source #

Eq POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Ord POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

HasBlueprintDefinition POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Associated Types

type Unroll POSIXTime :: [Type]

Methods

definitionId :: DefinitionId

Enum POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Eq POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Methods

(==) :: POSIXTime -> POSIXTime -> Bool

FromData POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

ToData POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

UnsafeFromData POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

AdditiveGroup POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

AdditiveMonoid POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Methods

zero :: POSIXTime

AdditiveSemigroup POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Ord POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Pretty POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Methods

pretty :: POSIXTime -> Doc ann

prettyList :: [POSIXTime] -> Doc ann

HasBlueprintSchema POSIXTime referencedTypes Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Methods

schema :: Schema referencedTypes

Lift DefaultUni POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Methods

lift :: POSIXTime -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ())

Typeable DefaultUni POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Methods

typeRep :: Proxy POSIXTime -> RTCompile DefaultUni fun (Type TyName DefaultUni ())

type Rep POSIXTime Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

type Rep POSIXTime = D1 ('MetaData "POSIXTime" "PlutusLedgerApi.V1.Time" "plutus-ledger-api-1.36.0.0-5YP34Z4WNIC2QzLmhyGjha" '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.Time

type Unroll POSIXTime = Insert POSIXTime (GUnroll (IfStuckRep (RepIsStuckError POSIXTime :: Type -> Type) (Rep POSIXTime)))

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.Time

Generic DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Associated Types

type Rep DiffMilliSeconds :: Type -> Type Source #

Num DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Integral DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Real DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Show DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

NFData DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Methods

rnf :: DiffMilliSeconds -> () Source #

Eq DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Ord DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

HasBlueprintDefinition DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Associated Types

type Unroll DiffMilliSeconds :: [Type]

Methods

definitionId :: DefinitionId

Eq DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

FromData DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

ToData DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

UnsafeFromData DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

AdditiveGroup DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

AdditiveMonoid DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

AdditiveSemigroup DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Ord DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

HasBlueprintSchema DiffMilliSeconds referencedTypes Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Methods

schema :: Schema referencedTypes

Lift DefaultUni DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Methods

lift :: DiffMilliSeconds -> RTCompile DefaultUni fun (Term TyName Name DefaultUni fun ())

Typeable DefaultUni DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

Methods

typeRep :: Proxy DiffMilliSeconds -> RTCompile DefaultUni fun (Type TyName DefaultUni ())

type Rep DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

type Rep DiffMilliSeconds = D1 ('MetaData "DiffMilliSeconds" "PlutusLedgerApi.V1.Time" "plutus-ledger-api-1.36.0.0-5YP34Z4WNIC2QzLmhyGjha" 'True) (C1 ('MetaCons "DiffMilliSeconds" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer)))
type Unroll DiffMilliSeconds Source # 
Instance details

Defined in PlutusLedgerApi.V1.Time

type Unroll DiffMilliSeconds = Insert DiffMilliSeconds (GUnroll (IfStuckRep (RepIsStuckError DiffMilliSeconds :: Type -> Type) (Rep DiffMilliSeconds)))