package calendar

  1. Overview
  2. Docs
type t
val empty : t
val add : t -> t -> t
val sub : t -> t -> t
val opp : t -> t
val compare : t -> t -> int
val equal : t -> t -> bool
val make : int -> int -> int -> int -> int -> int -> t
val lmake : ?year:int -> ?month:int -> ?day:int -> ?hour:int -> ?minute:int -> ?second:int -> unit -> t
val year : int -> t
val month : int -> t
val week : int -> t
val day : int -> t
val hour : int -> t
val minute : int -> t
val second : int -> t
val from_date : Date.Period.t -> t
val from_time : Time.Period.t -> t
val to_date : t -> Date.Period.t
exception Not_computable
val to_time : t -> Time.Period.t
val ymds : t -> int * int * int * int
OCaml

Innovation. Community. Security.