package timedesc

  1. Overview
  2. Docs
type view = private {
  1. year : int;
  2. day_of_year : int;
}
type error = [
  1. | `Does_not_exist
  2. | `Invalid_year of int
  3. | `Invalid_day_of_year of int
]
exception Error_exn of error
val make : year:int -> day_of_year:int -> (t, error) result
val make_exn : year:int -> day_of_year:int -> t
val view : t -> view
OCaml

Innovation. Community. Security.