Date.Ymd
exception Error_exn of error
Constructs a date in the Gregorian calendar.
Returns Error `Invalid_year
if year < 0 || 9999 < year
.
Returns Error `Invalid_month
if month < 1 || 12 < month
.
Returns Error `Invalid_day
if day < 1 || day count of month < day
.
val make_exn : year:int -> month:int -> day:int -> t
val pp_iso8601 : Stdlib.Format.formatter -> t -> unit
val to_iso8601 : t -> string
val of_iso8601 : string -> (t, string) Stdlib.result
val of_iso8601_exn : string -> t