timezonelist.js
No description.

File Location

/goog/locale/timezonelist.js


Public Protected Private

Global Functions

goog.locale.getTimeZoneAllLongNames() Array.<Object>
Returns the displayable list of long timezone names paired with its id for the current locale. This method depends on goog.locale.TimeZoneAllLongNames__ available from http://go/js_locale_data. Users of this method must add a dependency on this.
Returns: Array.<Object>  localized and relevant list of timezone names and ids.
code »
goog.locale.getTimeZoneNameList_(nameTypeopt_resource) !Array.<Object>
Returns the displayable list of timezone names paired with its id for the current locale, selected based on the region or language provided. This method depends on goog.locale.TimeZone*__ available from http://go/js_locale_data. Users of this method must add a dependency on this.
Arguments:
nameType : string
Resource name to be loaded to get the names.
opt_resource : string=
If resource is region tag, timezone ids specific this region are considered. If it is language, all regions for which this language is defacto official is considered. If it is undefined, current locale is used to extract this information.
Returns: !Array.<Object>  Localized and relevant list of timezone names and ids.
code »
goog.locale.getTimeZoneSelectedLongNames(opt_regionOrLang) !Array.<Object>
Returns the displayable list of long timezone names paired with its id for the current locale, selected based on the region or language provided. This method depends on goog.locale.TimeZone*__ available from http://go/js_locale_data. Users of this method must add a dependency on this.
Arguments:
opt_regionOrLang : string=
If region tag is provided, timezone ids specific this region are considered. If language is provided, all regions for which this language is defacto official is considered. If this parameter is not speficied, current locale is used to extract this information.
Returns: !Array.<Object>  Localized and relevant list of timezone names and ids.
code »
goog.locale.getTimeZoneSelectedShortNames(opt_regionOrLang) !Array.<Object>
Returns the displayable list of short timezone names paired with its id for the current locale, selected based on the region or language provided. This method depends on goog.locale.TimeZone*__ available from http://go/js_locale_data. Users of this method must add a dependency on this.
Arguments:
opt_regionOrLang : string=
If region tag is provided, timezone ids specific this region are considered. If language is provided, all regions for which this language is defacto official is considered. If this parameter is not speficied, current locale is used to extract this information.
Returns: !Array.<Object>  Localized and relevant list of timezone names and ids.
code »

Directory locale

File Reference