package core_kernel

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

Parts represents the individual parts of a Span as if it were written out (it is the counterpart to create). For example, (sec 90.) is represented by Parts.hr = 0; min = 1; sec = 30; ms = 0. The fields will always be positive.

type t = private {
  1. sign : Sign.t;
  2. hr : Base.Int.t;
  3. min : Base.Int.t;
  4. sec : Base.Int.t;
  5. ms : Base.Int.t;
  6. us : Base.Int.t;
}
include sig ... end
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
OCaml

Innovation. Community. Security.