Core_kernel.Unit_of_time
Represents a unit of time, e.g., that used by Time.Span.to_string_hum
. Comparison respects Nanosecond < Microsecond < Millisecond < Second < Minute < Hour < Day.
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0.Sexp.t -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val compare : t -> t -> Base.Int.t
val all : t Base.List.t
val hash_fold_t : Base.Hash.state -> t -> Base.Hash.state
val hash : t -> Base.Hash.hash_value