JML

java.util
Class TimeZone

java.lang.Object
  extended byjava.util.TimeZone
All Implemented Interfaces:
Cloneable, Serializable

public abstract class TimeZone
extends Object
implements Serializable, Cloneable


Model Field Summary
 
Model fields inherited from class java.lang.Object
_getClass, objectState, theString
 
Ghost Field Summary
 
Ghost fields inherited from class java.lang.Object
objectTimesFinalized, owner
 
Field Summary
private static Hashtable cachedLocaleData
           
private static TimeZone defaultZone
           
(package private) static String GMT_ID
           
private static int GMT_ID_LENGTH
           
private  String ID
           
static int LONG
           
private static int ONE_DAY
           
private static int ONE_HOUR
           
private static int ONE_MINUTE
           
(package private) static long serialVersionUID
           
static int SHORT
           
 
Constructor Summary
TimeZone()
           
 
Model Method Summary
 
Model methods inherited from class java.lang.Object
hashValue
 
Method Summary
 Object clone()
           
static String[] getAvailableIDs()
           
static String[] getAvailableIDs(int)
           
static TimeZone getDefault()
           
(package private) static TimeZone getDefaultRef()
           
 String getDisplayName()
           
 String getDisplayName(boolean, int)
           
 String getDisplayName(boolean, int, Locale)
           
 String getDisplayName(Locale)
           
 int getDSTSavings()
           
 String getID()
           
abstract  int getOffset(int, int, int, int, int, int)
           
 int getOffset(long)
           
(package private)  int getOffsets(long, int[])
           
abstract  int getRawOffset()
           
private static String getSystemGMTOffsetID()
           
private static String getSystemTimeZoneID(String, String)
           
static TimeZone getTimeZone(String)
           
private static TimeZone getTimeZone(String, boolean)
           
 boolean hasSameRules(TimeZone)
           
abstract  boolean inDaylightTime(Date)
           
private static TimeZone parseCustomTimeZone(String)
           
static void setDefault(TimeZone)
           
private static void setDefaultZone()
           
 void setID(String)
           
abstract  void setRawOffset(int)
           
abstract  boolean useDaylightTime()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultZone

private static TimeZone defaultZone

cachedLocaleData

private static Hashtable cachedLocaleData

ONE_MINUTE

private static final int ONE_MINUTE

GMT_ID_LENGTH

private static final int GMT_ID_LENGTH

serialVersionUID

static final long serialVersionUID

ID

private String ID

GMT_ID

static final String GMT_ID

SHORT

public static final int SHORT

ONE_DAY

private static final int ONE_DAY

ONE_HOUR

private static final int ONE_HOUR

LONG

public static final int LONG
Constructor Detail

TimeZone

public TimeZone()
Method Detail

getDSTSavings

public int getDSTSavings()

getRawOffset

public abstract int getRawOffset()

setDefaultZone

private static void setDefaultZone()

useDaylightTime

public abstract boolean useDaylightTime()

setRawOffset

public abstract void setRawOffset(int)

getOffset

public abstract int getOffset(int,
                              int,
                              int,
                              int,
                              int,
                              int)

getOffset

public int getOffset(long)

getOffsets

int getOffsets(long,
               int[])

clone

public Object clone()
Overrides:
clone in class Object

getDisplayName

public final String getDisplayName()

getID

public String getID()

getSystemGMTOffsetID

private static String getSystemGMTOffsetID()

getAvailableIDs

public static String[] getAvailableIDs()

getAvailableIDs

public static String[] getAvailableIDs(int)

setID

public void setID(String)

getDisplayName

public final String getDisplayName(boolean,
                                   int)

inDaylightTime

public abstract boolean inDaylightTime(Date)

getDefault

public static TimeZone getDefault()

getDefaultRef

static TimeZone getDefaultRef()

setDefault

public static void setDefault(TimeZone)

hasSameRules

public boolean hasSameRules(TimeZone)

getDisplayName

public final String getDisplayName(Locale)

getDisplayName

public String getDisplayName(boolean,
                             int,
                             Locale)

getTimeZone

public static TimeZone getTimeZone(String)

parseCustomTimeZone

private static final TimeZone parseCustomTimeZone(String)

getTimeZone

private static TimeZone getTimeZone(String,
                                    boolean)

getSystemTimeZoneID

private static String getSystemTimeZoneID(String,
                                          String)

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.