Alpha_context.Timestamp
This module re-exports definitions from Time_repr
.
include BASIC_DATA with type t = Mavryk_protocol_environment_alpha.Time.t
include Mavryk_protocol_environment_alpha.Compare.S with type t := t
val encoding : t Mavryk_protocol_environment_alpha.Data_encoding.t
val pp : Mavryk_protocol_environment_alpha.Format.formatter -> t -> unit
type time = t
val (+?) :
time ->
Period.t ->
time Mavryk_protocol_environment_alpha.Error_monad.tzresult
val (-?) :
time ->
time ->
Period.t Mavryk_protocol_environment_alpha.Error_monad.tzresult
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