|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimeZone
net.fortuna.ical4j.model.TimeZone
public class TimeZone
$Id$ Created on 13/09/2005 A Java timezone implementation based on an underlying VTimeZone definition.
Field Summary |
---|
Fields inherited from class java.util.TimeZone |
---|
LONG, SHORT |
Constructor Summary | |
---|---|
TimeZone(VTimeZone vTimeZone)
Constructs a new instance based on the specified VTimeZone. |
Method Summary | |
---|---|
int |
getOffset(int era,
int year,
int month,
int day,
int dayOfWeek,
int milliseconds)
|
int |
getOffset(long date)
|
int |
getRawOffset()
|
VTimeZone |
getVTimeZone()
|
boolean |
inDaylightTime(Date date)
Determines if the specified date is in daylight time according to this timezone. |
void |
setRawOffset(int offsetMillis)
|
boolean |
useDaylightTime()
|
Methods inherited from class java.util.TimeZone |
---|
clone, getAvailableIDs, getAvailableIDs, getDefault, getDisplayName, getDisplayName, getDisplayName, getDisplayName, getDSTSavings, getID, getTimeZone, hasSameRules, setDefault, setID |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeZone(VTimeZone vTimeZone)
vTimeZone
- a VTIMEZONE object instanceMethod Detail |
---|
public final int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds)
getOffset
in class TimeZone
public int getOffset(long date)
getOffset
in class TimeZone
public final int getRawOffset()
getRawOffset
in class TimeZone
public final boolean inDaylightTime(Date date)
inDaylightTime
in class TimeZone
date
- a date instance
public final void setRawOffset(int offsetMillis)
setRawOffset
in class TimeZone
public final boolean useDaylightTime()
useDaylightTime
in class TimeZone
public final VTimeZone getVTimeZone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |