mrmime
Date.Zone
type t =
| UT
| GMT
| EST
| EDT
| CST
| CDT
| MST
| MDT
| PST
| PDT
| Military_zone of char
| TZ of int * int
Type of zone according RFC 822 / RFC 2822 / RFC 5322.
val ut : t
val gmt : t
val est : t
val edt : t
val cst : t
val cdt : t
val mst : t
val mdt : t
val pst : t
val pdt : t
val military_zone : char -> (t, [ `Msg of string ]) result
val tz : int -> int -> (t, [ `Msg of string ]) result
val to_string : t -> string
to_string v returns a well-formed string from a time zone v.
to_string v
v
val of_string : string -> (t, [ `Msg of string ]) result
of_string v returns a time zone from a well-formed string v. Process is case-sensitive.
of_string v
val of_string_exn : string -> t
of_string_exn v returns a time zone from a well-formed string v. Process is case-sensitive.
of_string_exn v
[Invalid_argument]
when v is an invalid time zone.
val v : string -> t
Alias of of_string_exn.
of_string_exn
val pp : Format.formatter -> t -> unit
val equal : t -> t -> bool