Uses of Class
java.util.TimeZone

Packages that use TimeZone
java.util   
 

Uses of TimeZone in java.util
 

Subclasses of TimeZone in java.util
 class SimpleTimeZone
          SimpleTimeZone is a concrete subclass of TimeZone that represents a time zone for use with a Gregorian calendar.
 

Fields in java.util declared as TimeZone
private  TimeZone Calendar.zone
          The TimeZone used by this calendar.
private static TimeZone TimeZone.defaultZone
           
private static TimeZone TimeZone.GMT
           
 

Methods in java.util that return TimeZone
 TimeZone Calendar.getTimeZone()
          Gets the time zone.
static TimeZone TimeZone.getTimeZone(String ID)
          Gets the TimeZone for the given ID.
static TimeZone TimeZone.getDefault()
          Gets the default TimeZone for this host.
(package private) static TimeZone TimeZoneData.get(String ID)
           
 

Methods in java.util with parameters of type TimeZone
static Calendar Calendar.getInstance(TimeZone zone)
          Gets a calendar using the specified time zone and default locale.
static Calendar Calendar.getInstance(TimeZone zone, Locale aLocale)
          Gets a calendar with the specified time zone and locale.
 void Calendar.setTimeZone(TimeZone value)
          Sets the time zone with the given time zone value.
static void TimeZone.setDefault(TimeZone zone)
          Sets the TimeZone that is returned by the getDefault method.
 boolean TimeZone.hasSameRules(TimeZone other)
          Returns true if this zone has the same rule and offset as another zone.
 boolean SimpleTimeZone.hasSameRules(TimeZone other)
          Return true if this zone has the same rules and offset as another zone.
 

Constructors in java.util with parameters of type TimeZone
Calendar.Calendar(TimeZone zone, Locale aLocale)
          Constructs a calendar with the specified time zone and locale.
GregorianCalendar.GregorianCalendar(TimeZone zone)
          Constructs a GregorianCalendar based on the current time in the given time zone with the default locale.
GregorianCalendar.GregorianCalendar(TimeZone zone, Locale aLocale)
          Constructs a GregorianCalendar based on the current time in the given time zone with the given locale.