|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--java.util.TimeZone
| Field Summary | |
protected static java.lang.String |
GMT
GMT timezone name |
protected static java.lang.String[] |
VALID_TZ
Valid timezones |
| Constructor Summary | |
TimeZone()
Create a new timezone |
|
| Method Summary | |
static java.lang.String[] |
getAvailableIDs()
Get the available TimeZone IDs |
static TimeZone |
getDefault()
Get the default time zone |
abstract java.lang.String |
getID()
Get the ID of this time zone |
abstract int |
getOffset(int era,
int year,
int month,
int day,
int dayOfWeek,
int millis)
Get the offset to add to GMT to get the local time. |
abstract int |
getRawOffset()
Get the raw offset for this time zone |
static TimeZone |
getTimeZone(java.lang.String ID)
Get the time zone for a given ID |
abstract boolean |
useDaylightTime()
Does this time zone use daylight time |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.lang.String GMT
protected static final java.lang.String[] VALID_TZ
| Constructor Detail |
public TimeZone()
| Method Detail |
public static java.lang.String[] getAvailableIDs()
public static TimeZone getDefault()
public abstract java.lang.String getID()
public abstract int getOffset(int era,
int year,
int month,
int day,
int dayOfWeek,
int millis)
era - The era of the date (0 = BC, 1 = AD)year - The year of the given datemonth - The month of the given dateday - The day of the month of the given datedayOfWeek - The day of the week of the given datemillis - The milliseconds in the day in standard local time
IllegalArgumentException - if any of the parameters are out of rangepublic abstract int getRawOffset()
public static TimeZone getTimeZone(java.lang.String ID)
ID - the time zone string
public abstract boolean useDaylightTime()
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||