package timere

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = private {
  1. days : int;
  2. hours : int;
  3. minutes : int;
  4. seconds : int;
}
val make : ?days:int -> ?hours:int -> ?minutes:int -> ?seconds:int -> unit -> t
val make_frac : ?days:float -> ?hours:float -> ?minutes:float -> ?seconds:int -> unit -> t
val zero : t
val of_seconds : int64 -> t
val to_seconds : t -> int64
val to_string : t -> string
val pp : Format.formatter -> t -> unit
val to_sexp : t -> CCSexp.t
val to_sexp_string : t -> string
val of_sexp : CCSexp.t -> (t, string) result
val of_sexp_string : string -> (t, string) result
val pp_sexp : Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.