Tezos_raw_protocol_010_PtGRANAD.Time_reprinclude module type of struct include Tezos_protocol_environment_010_PtGRANAD.Time endval of_seconds : int64 -> tval to_seconds : t -> int64val of_notation : string -> t optionval of_notation_exn : string -> tval to_notation : t -> stringval encoding : t Tezos_protocol_environment_010_PtGRANAD.Data_encoding.tval rfc_encoding : t Tezos_protocol_environment_010_PtGRANAD.Data_encoding.tval pp_hum :
Tezos_protocol_environment_010_PtGRANAD.Format.formatter ->
t ->
unittype time = tval pp : Tezos_protocol_environment_010_PtGRANAD.Format.formatter -> t -> unitval of_seconds_string : string -> time optionval to_seconds_string : time -> stringval (+?) :
time ->
Period_repr.t ->
time Tezos_protocol_environment_010_PtGRANAD.Error_monad.tzresult( +? ) t p adds a time span p to a timestamp t. This function errors on integer overflow
val (-?) :
time ->
time ->
Period_repr.t Tezos_protocol_environment_010_PtGRANAD.Error_monad.tzresult( -? ) t1 t2 subtracts timestamp t2 from t1. This function errors when the difference is negative