package glical

  1. Overview
  2. Docs
type t = {
  1. year : int;
  2. month : int;
  3. day : int;
  4. hours : int;
  5. minutes : int;
  6. seconds : int;
  7. timezone : timezone;
}
and timezone = [
  1. | `Local
  2. | `TZID of string
  3. | `UTC
]
val validate : t -> bool
val to_string : t -> string
val parse : location -> string -> t
val parse_datetime : [> `Datetime of t | `Raw of string ] as 'a Ical.t -> 'a Ical.t