net.fortuna.ical4j.model
Class TimeZone
java.util.TimeZone
net.fortuna.ical4j.model.TimeZone
public class TimeZone
extends java.util.TimeZone
$Id: TimeZone.java,v 1.9 2008/12/16 12:34:52 fortuna Exp $
Created on 13/09/2005
A Java timezone implementation based on an underlying VTimeZone
definition.
TimeZone(VTimeZone vTimeZone) - Constructs a new instance based on the specified VTimeZone.
|
TimeZone
public TimeZone(VTimeZone vTimeZone)
Constructs a new instance based on the specified VTimeZone.
getOffset
public final int getOffset(int era,
int year,
int month,
int day,
int dayOfWeek,
int milliseconds)
getRawOffset
public final int getRawOffset()
getVTimeZone
public final VTimeZone getVTimeZone()
- Returns the VTimeZone backing this instance.
inDaylightTime
public final boolean inDaylightTime(Date date)
Determines if the specified date is in daylight time according to
this timezone. This is done by finding the latest supporting
observance for the specified date and identifying whether it is
daylight time.
setRawOffset
public final void setRawOffset(int offsetMillis)
useDaylightTime
public final boolean useDaylightTime()