Tezos_raw_protocol_004_Pt24m4xi.Period_reprtype period = tinclude Tezos_protocol_environment_004_Pt24m4xi.Compare.S with type t := tval encoding : period Tezos_protocol_environment_004_Pt24m4xi.Data_encoding.tval pp :
Tezos_protocol_environment_004_Pt24m4xi.Format.formatter ->
period ->
unitval to_seconds : period -> int64val of_seconds :
int64 ->
period Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresultof_second period fails if period is not positive
val of_seconds_exn : int64 -> periodof_second period fails if period is not positive. It should only be used at toplevel for constants.
val mult :
int32 ->
period ->
period Tezos_protocol_environment_004_Pt24m4xi.Error_monad.tzresultval one_second : periodval one_minute : periodval one_hour : period