Module TZ.Zone


module Zone: sig .. end

type t 
val sexp_of_t : t -> Sexplib.Sexp.t
val t_of_sexp : Sexplib.Sexp.t -> t
val to_string_hum : t -> string
to_string_hum t full internal description of the zone. Generally only useful for debugging
val abbreviation : t -> Time.t -> string
abbreviation zone t returns Zone.t abbreviation name such as EDT, EST, JST of given zone at the time t. This string conversion is one-way only, and cannot reliably be turned back into a Zone.t
val of_gmt_offset : int -> t
of_gmt_offset offset returns a timezone with a static GMT offset (given in hours). Uses the default db from create.
val find : string -> t option
lookup db t looks up a Zone.t by it's name (as listed in available_zones) and returns it. find and find_exn also support the following helper zones that correspond to our standard office mnemonics:
val find_exn : string -> t