Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.util.TimeZone

Availability: JDK 1.1

public abstract class TimeZone extends Object implements Serializable, Cloneable {
   // Default Constructor: public TimeZone()
   // Class Methods
      public static synchronized String[] getAvailableIDs(int rawOffset);
      public static synchronized String[] getAvailableIDs();
      public static synchronized TimeZone getDefault();
      public static synchronized TimeZone getTimeZone(String ID);
      public static synchronized void setDefault(TimeZone zone);
   // Public Instance Methods
      public Object clone();  // Overrides Object.clone()
      public String getID();
      public abstract int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds);
      public abstract int getRawOffset();
      public abstract boolean inDaylightTime(Date date);
      public void setID(String ID);
      public abstract void setRawOffset(int offsetMillis);
      public abstract boolean useDaylightTime();
}

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.