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 dayOfMonth,
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, getTimeZone, hasSameRules, observesDaylightTime, setDefault, setID, toZoneId
public TimeZone(VTimeZone vTimeZone)
vTimeZone
- a VTIMEZONE object instancepublic final int getOffset(int era, int year, int month, int dayOfMonth, int dayOfWeek, int milliseconds)
public final int getRawOffset()
getRawOffset
in class TimeZone
public final boolean inDaylightTime(Date date)
inDaylightTime
in class TimeZone
date
- a date instancepublic final void setRawOffset(int offsetMillis)
setRawOffset
in class TimeZone
public final boolean useDaylightTime()
useDaylightTime
in class TimeZone
public final VTimeZone getVTimeZone()