|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.model.calendar.ExceptionToRecurrenceRule
public class ExceptionToRecurrenceRule
This class represents the removal, the addition or the change of a particular occurrence in the context of a recurrence rule.
Constructor Summary | |
---|---|
ExceptionToRecurrenceRule(boolean rdate,
java.lang.String date)
Creates a new instance of ExceptionToRecurrenceRule. |
Method Summary | |
---|---|
int |
compareTo(ExceptionToRecurrenceRule e)
|
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getDate()
Gets the date value, which means the deleted occurrence if isAddition() returns false, the added occurrence otherwise. |
int |
hashCode()
|
boolean |
isAddition()
Returns whether the exception is an addition or a removal. |
void |
setAddition(boolean addition)
Setter for property addition. |
void |
setDate(java.lang.String date)
Sets the date value, which means the deleted or the added occurrence. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionToRecurrenceRule(boolean rdate, java.lang.String date) throws java.text.ParseException
rdate
- true if it's an addition to the recurrence rule, false if
it's a deletiondate
- as a String in "yyyyMMdd'T'HHmmssZ", "yyyyMMdd'T'HHmmss",
"yyyy-MM-dd" or "yyMMdd" format
java.text.ParseException
- if date could not be interpretedMethod Detail |
---|
public java.lang.String getDate()
public void setDate(java.lang.String date) throws java.text.ParseException
date
- as a String in any ISO 8601 format
java.text.ParseException
- if date could not be interpretedpublic boolean isAddition()
public void setAddition(boolean addition)
addition
- new value of property addition (true if it is a positive
exception, false if it is a negative one)public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(ExceptionToRecurrenceRule e)
compareTo
in interface java.lang.Comparable<ExceptionToRecurrenceRule>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |