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()
|
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)
|
void |
setID(String)
|
abstract void |
setRawOffset(int)
|
abstract boolean |
useDaylightTime()
|
cachedLocaleData
private static Hashtable cachedLocaleData
ONE_MINUTE
private static final int ONE_MINUTE
defaultZone
private static TimeZone defaultZone
LONG
public static final int LONG
SHORT
public static final int SHORT
ID
private String ID
ONE_DAY
private static final int ONE_DAY
GMT_ID_LENGTH
private static final int GMT_ID_LENGTH
ONE_HOUR
private static final int ONE_HOUR
GMT_ID
static final String GMT_ID
serialVersionUID
static final long serialVersionUID
TimeZone
public TimeZone()
getDSTSavings
public int getDSTSavings()
getRawOffset
public abstract int getRawOffset()
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()
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.