package tezos-protocol-005-PsBabyM1

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Tezos_raw_protocol_005_PsBabyM1.Period_reprSource

Sourcetype t
Sourcetype period = t
include Tezos_protocol_environment_005_PsBabyM1.Compare.S with type t := 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
Sourceval to_seconds : period -> int64

of_second period fails if period is not positive

Sourceval of_seconds_exn : int64 -> period

of_second period fails if period is not positive. It should only be used at toplevel for constants.

Sourceval zero : period
Sourceval one_second : period
Sourceval one_minute : period
Sourceval one_hour : period
OCaml

Innovation. Community. Security.