Generate a GMT-relative string for a constant time zone offset.
|
code » | ||
Generate a POSIX time zone ID for a constant time zone offset.
|
code » | ||
Generate a UTC-relative string for a constant time zone offset.
|
code » | ||
This factory method creates a time zone object with a constant offset.
Arguments:
Returns: !goog.i18n.TimeZone
A time zone object with the given constant
offset. Note that the time zone ID of this object will use the POSIX
convention, which has a reversed sign ("Etc/GMT+8" means UTC-8 or PST).
|
code » | ||
This factory method creates a time zone instance. It takes either an object
containing complete time zone information, or a single number representing a
constant time zone offset. If the latter form is used, DST functionality is
not available.
Arguments:
Returns: !goog.i18n.TimeZone
A goog.i18n.TimeZone object for the given
time zone data.
|
code » |