Objectgoog.i18n.TimeZone
Return the adjustment amount of time zone offset. When daylight time
is in effect, this number will be positive. Otherwise, it is zero.
|
code » | |
Return the GMT representation of this time zone object.
|
code » | |
To get long time zone name for given date.
|
code » | |
To get time zone offset (in minutes) relative to UTC for given date.
To be consistent with JDK/Javascript API, west of Greenwich will be
positive.
|
code » | |
To get RFC representation of certain time zone name for given date.
|
code » | |
To get short time zone name for given date.
|
code » | |
Return time zone id for this time zone.
Returns:
time zone id.
|
code » | |
Check if the given time fall within daylight saving period.
|
code » |
Generate GMT string given a time zone offset.
|
code » | ||
POSIX time zone ID as fallback.
|
code » | ||
Generate UTC string.
|
code » | ||
This factory method provides a decent fallback to create a time zone object
just based on a given time zone offset.
Arguments:
Returns:
A goog.i18n.TimeZone object generated by just using the time zone offset information.
|
code » | ||
This factory method creates a time zone instance. It takes either a time zone
information array or a simple timezone offset. The latter form does not offer
the same set of functionalities as first form.
Arguments:
Returns:
A goog.i18n.TimeZone object for the given time zone data.
|
code » |