Module Goog.​I18n

module I18n : sig..end

class type charPickerData = object..end
val charPickerData : charPickerData Js.t Js.constr
type dateTimeSymbols
val dateTimeSymbols_am : dateTimeSymbols
val dateTimeSymbols_ar : dateTimeSymbols
val dateTimeSymbols_bg : dateTimeSymbols
val dateTimeSymbols_bn : dateTimeSymbols
val dateTimeSymbols_ca : dateTimeSymbols
val dateTimeSymbols_cs : dateTimeSymbols
val dateTimeSymbols_da : dateTimeSymbols
val dateTimeSymbols_de : dateTimeSymbols
val dateTimeSymbols_de_AT : dateTimeSymbols
val dateTimeSymbols_de_CH : dateTimeSymbols
val dateTimeSymbols_el : dateTimeSymbols
val dateTimeSymbols_en : dateTimeSymbols
val dateTimeSymbols_en_AU : dateTimeSymbols
val dateTimeSymbols_en_GB : dateTimeSymbols
val dateTimeSymbols_en_IE : dateTimeSymbols
val dateTimeSymbols_en_IN : dateTimeSymbols
val dateTimeSymbols_en_ISO : dateTimeSymbols
val dateTimeSymbols_en_SG : dateTimeSymbols
val dateTimeSymbols_en_US : dateTimeSymbols
val dateTimeSymbols_en_ZA : dateTimeSymbols
val dateTimeSymbols_es : dateTimeSymbols
val dateTimeSymbols_et : dateTimeSymbols
val dateTimeSymbols_eu : dateTimeSymbols
val dateTimeSymbols_fa : dateTimeSymbols
val dateTimeSymbols_fi : dateTimeSymbols
val dateTimeSymbols_fil : dateTimeSymbols
val dateTimeSymbols_fr : dateTimeSymbols
val dateTimeSymbols_fr_CA : dateTimeSymbols
val dateTimeSymbols_gl : dateTimeSymbols
val dateTimeSymbols_gsw : dateTimeSymbols
val dateTimeSymbols_gu : dateTimeSymbols
val dateTimeSymbols_he : dateTimeSymbols
val dateTimeSymbols_hi : dateTimeSymbols
val dateTimeSymbols_hr : dateTimeSymbols
val dateTimeSymbols_hu : dateTimeSymbols
val dateTimeSymbols_id : dateTimeSymbols
val dateTimeSymbols_in : dateTimeSymbols
val dateTimeSymbols_is : dateTimeSymbols
val dateTimeSymbols_it : dateTimeSymbols
val dateTimeSymbols_iw : dateTimeSymbols
val dateTimeSymbols_ja : dateTimeSymbols
val dateTimeSymbols_kn : dateTimeSymbols
val dateTimeSymbols_ko : dateTimeSymbols
val dateTimeSymbols_ln : dateTimeSymbols
val dateTimeSymbols_lt : dateTimeSymbols
val dateTimeSymbols_lv : dateTimeSymbols
val dateTimeSymbols_ml : dateTimeSymbols
val dateTimeSymbols_mo : dateTimeSymbols
val dateTimeSymbols_mr : dateTimeSymbols
val dateTimeSymbols_ms : dateTimeSymbols
val dateTimeSymbols_mt : dateTimeSymbols
val dateTimeSymbols_nl : dateTimeSymbols
val dateTimeSymbols_no : dateTimeSymbols
val dateTimeSymbols_or : dateTimeSymbols
val dateTimeSymbols_pl : dateTimeSymbols
val dateTimeSymbols_pt : dateTimeSymbols
val dateTimeSymbols_pt_BR : dateTimeSymbols
val dateTimeSymbols_pt_PT : dateTimeSymbols
val dateTimeSymbols_ro : dateTimeSymbols
val dateTimeSymbols_ru : dateTimeSymbols
val dateTimeSymbols_sk : dateTimeSymbols
val dateTimeSymbols_sl : dateTimeSymbols
val dateTimeSymbols_sq : dateTimeSymbols
val dateTimeSymbols_sr : dateTimeSymbols
val dateTimeSymbols_sv : dateTimeSymbols
val dateTimeSymbols_sw : dateTimeSymbols
val dateTimeSymbols_ta : dateTimeSymbols
val dateTimeSymbols_te : dateTimeSymbols
val dateTimeSymbols_th : dateTimeSymbols
val dateTimeSymbols_tl : dateTimeSymbols
val dateTimeSymbols_tr : dateTimeSymbols
val dateTimeSymbols_uk : dateTimeSymbols
val dateTimeSymbols_ur : dateTimeSymbols
val dateTimeSymbols_vi : dateTimeSymbols
val dateTimeSymbols_zh : dateTimeSymbols
val dateTimeSymbols_zh_CN : dateTimeSymbols
val dateTimeSymbols_zh_HK : dateTimeSymbols
val dateTimeSymbols_zh_TW : dateTimeSymbols
class type timeZone = object..end
val timeZone : timeZone Js.t Js.constr

TimeZone class implemented a time zone resolution and name information source for client applications. The time zone object is initiated from a time zone information object. Application can initiate a time zone statically, or it may choose to initiate from a data obtained from server. Each time zone information array is small, but the whole set of data is too much for client application to download. If end user is allowed to change time zone setting, dynamic retrieval should be the method to use. In case only time zone offset is known, there is a decent fallback that only use the time zone offset to create a TimeZone object. A whole set of time zone information array was available under http://go/js_locale_data. It is generated based on CLDR and Olson time zone data base (through pytz), and will be updated timely.

module TimeZone : sig..end
module DateTimeFormat : sig..end
class type dateTimeFormat = object..end
val dateTimeFormat : 
  ((Js.js_string Js.t, DateTimeFormat.format)
   Goog.Tools.Union.t -> dateTimeFormat Js.t)
  Js.constr

Construct a DateTimeFormat object based on current locale.

class type dateTimeParse = object..end
val dateTimeParse : 
  ((Js.js_string Js.t, DateTimeFormat.format)
   Goog.Tools.Union.t -> dateTimeParse Js.t)
  Js.constr

Construct a DateTimeParse based on current locale.