net.fortuna.ical4j.model
public class TimeZone extends TimeZone
| Constructor and Description |
|---|
TimeZone(VTimeZone vTimeZone)
Constructs a new instance based on the specified VTimeZone.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getOffset(int era,
int year,
int month,
int day,
int dayOfWeek,
int milliseconds) |
int |
getOffset(long date) |
int |
getRawOffset() |
VTimeZone |
getVTimeZone() |
int |
hashCode() |
boolean |
inDaylightTime(Date date)
Determines if the specified date is in daylight time according to
this timezone.
|
void |
setRawOffset(int offsetMillis) |
boolean |
useDaylightTime() |
clone, getAvailableIDs, getAvailableIDs, getDefault, getDisplayName, getDisplayName, getDisplayName, getDisplayName, getDSTSavings, getID, getTimeZone, hasSameRules, setDefault, setIDpublic TimeZone(VTimeZone vTimeZone)
vTimeZone - a VTIMEZONE object instancepublic final int getOffset(int era,
int year,
int month,
int day,
int dayOfWeek,
int milliseconds)
public final int getRawOffset()
getRawOffset in class TimeZonepublic final boolean inDaylightTime(Date date)
inDaylightTime in class TimeZonedate - a date instancepublic final void setRawOffset(int offsetMillis)
setRawOffset in class TimeZonepublic final boolean useDaylightTime()
useDaylightTime in class TimeZonepublic final VTimeZone getVTimeZone()
Copyright © 2004-2013 Micronode. All Rights Reserved.