package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include BASIC_DATA with type t = Tezos_base.Time.Protocol.t
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
val encoding : t Data_encoding.t
val pp : Stdlib.Format.formatter -> t -> unit
type time = t
val (+?) : time -> Period.t -> (time, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result
val (-?) : time -> time -> (Period.t, Tezos_protocol_environment_alpha__Environment.Error_monad.error Tezos_protocol_environment_alpha__Environment.Error_monad.trace) Stdlib.result
val (-) : time -> Period.t -> time
val of_notation : string -> time option
val to_notation : time -> string
val of_seconds : int64 -> time
val to_seconds : time -> int64
val of_seconds_string : string -> time option
val to_seconds_string : time -> string
val current : context -> time
val predecessor : context -> time
OCaml

Innovation. Community. Security.