|
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
|
+--com.dctl.j2me.util.SimpleTimeZone
This is the Simple Implementation of TimeZone.java
Currently only supports GMT
| Field Summary |
| Fields inherited from class java.util.TimeZone |
GMT, VALID_TZ |
| Constructor Summary | |
SimpleTimeZone()
Create a new SimpleTimeZone (GMT) |
|
| Method Summary | |
java.lang.String |
getID()
Get the ID of this time zone |
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. |
int |
getRawOffset()
Get the raw offset for this time zone |
boolean |
useDaylightTime()
Does this time zone use daylight savings time |
| Methods inherited from class java.util.TimeZone |
getAvailableIDs, getDefault, getTimeZone |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleTimeZone()
| Method Detail |
public java.lang.String getID()
getID in class TimeZone
public int getOffset(int era,
int year,
int month,
int day,
int dayOfWeek,
int millis)
getOffset in class TimeZoneera - 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 int getRawOffset()
getRawOffset in class TimeZonepublic boolean useDaylightTime()
useDaylightTime in class TimeZone
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||