com.funambol.common.pim.model.converter
Class TimeZoneTransition
java.lang.Object
com.funambol.common.pim.model.converter.TimeZoneTransition
- All Implemented Interfaces:
- java.lang.Comparable<TimeZoneTransition>
- Direct Known Subclasses:
- ICalendarTimeZoneTransition
public class TimeZoneTransition
- extends java.lang.Object
- implements java.lang.Comparable<TimeZoneTransition>
This class represents each offset transition in a time zone contained in a
vCalendar/iCalendar item.
- Version:
- $Id: TimeZoneTransition.java,v 1.1 2008-04-10 11:00:21 mauro Exp $
Constructor Summary |
TimeZoneTransition(int offset,
long time,
java.lang.String name)
Creates a new instance of TZTransition. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TimeZoneTransition
public TimeZoneTransition(int offset,
long time,
java.lang.String name)
- Creates a new instance of TZTransition.
- Parameters:
offset
- time
- name
-
getOffset
public int getOffset()
setOffset
public void setOffset(int offset)
getTime
public long getTime()
setTime
public void setTime(long time)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
compareTo
public int compareTo(TimeZoneTransition tzt)
- Specified by:
compareTo
in interface java.lang.Comparable<TimeZoneTransition>
Copyright © 2001-2009 Funambol.