Module ODurationSource

Duration

Sourcetype printer

printer

Sourcetype human_readable = {
  1. forward : bool;
    (*

    true means in the future

    *)
  2. ms : int;
  3. s : int;
  4. m : int;
  5. h : int;
  6. day : int;
  7. month : int;
  8. year : int;
}
Sourcemodule type S = sig ... end
include S
Sourcetype t
Sourceval zero : t
Sourceval zero_human : human_readable
Sourceval (+) : t -> t -> t
Sourceval (-) : t -> t -> t
Sourceval max : t -> t -> t
Sourceval min : t -> t -> t
Sourceval is_negative : t -> bool
Sourceval is_positive : t -> bool
Sourceval is_instantenous : t -> bool
Sourceval abs : t -> t
Sourceval make : ?forward:bool -> ?ms:int -> ?s:int -> ?m:int -> ?h:int -> ?day:int -> ?week:int -> ?month:int -> ?year:int -> unit -> t
Sourcemodule From : sig ... end
Sourcemodule To : sig ... end