public class

TimeZoneInfo

extends JavaScriptObject
java.lang.Object
   ↳ com.google.gwt.core.client.JavaScriptObject
     ↳ com.google.gwt.i18n.client.TimeZoneInfo

Class Overview

A JavaScript Overlay type on top of the JSON data describing everything we need to know about a particular timezone. The relevant strings of JSON can be found in TimeZoneConstants, or versions localized for non-en locales can be downloaded elsewhere.

Summary

Protected Constructors
TimeZoneInfo()
Public Methods
static TimeZoneInfo buildTimeZoneData(String json)
Construct a TimeZoneData javascript overlay object given some json text.
final String getID()
final JsArrayString getNames()
final int getStandardOffset()
final JsArrayInteger getTransitions()
[Expand]
Inherited Methods
From class com.google.gwt.core.client.JavaScriptObject
From class java.lang.Object

Protected Constructors

protected TimeZoneInfo ()

Public Methods

public static TimeZoneInfo buildTimeZoneData (String json)

Construct a TimeZoneData javascript overlay object given some json text. This method directly evaluates the String that you pass in; no error or safety checking is performed, so be very careful about the source of your data.

Parameters
json JSON text describing a time zone, like what comes from TimeZoneConstants.
Returns
  • a TimeZoneInfo object made from the supplied JSON.

public final String getID ()

public final JsArrayString getNames ()

public final int getStandardOffset ()

public final JsArrayInteger getTransitions ()