public class TimeZone
extends java.util.TimeZone
Constructor and Description |
---|
TimeZone(VTimeZone vTimeZone)
Constructs a new instance based on the specified VTimeZone.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.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(java.util.Date date)
Determines if the specified date is in daylight time according to
this timezone.
|
void |
setRawOffset(int offsetMillis) |
boolean |
useDaylightTime() |
public TimeZone(VTimeZone vTimeZone)
vTimeZone
- a VTIMEZONE object instancepublic final int getOffset(int era, int year, int month, int dayOfMonth, int dayOfWeek, int milliseconds)
getOffset
in class java.util.TimeZone
public int getOffset(long date)
getOffset
in class java.util.TimeZone
public final int getRawOffset()
getRawOffset
in class java.util.TimeZone
public final boolean inDaylightTime(java.util.Date date)
inDaylightTime
in class java.util.TimeZone
date
- a date instancepublic final void setRawOffset(int offsetMillis)
setRawOffset
in class java.util.TimeZone
public final boolean useDaylightTime()
useDaylightTime
in class java.util.TimeZone
public final VTimeZone getVTimeZone()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object