java.util
Class TimeZone
java.lang.Object
java.util.TimeZone
- All Implemented Interfaces:
- Cloneable, Serializable
- public abstract class TimeZone
- extends Object
- implements Serializable, Cloneable
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()
|
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
TimeZone
public TimeZone()
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 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.