|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.common.pim.icalendar.VAlarm
public class VAlarm
This class represents a VAlarm object which handles only trigger information Once you've set the correct absolute/relative trigger time and the trigger related time (start/end time), you can get the alarm interval in milliseconds
Constructor Summary | |
---|---|
VAlarm()
|
Method Summary | |
---|---|
long |
getAlarmInterval()
Get the alarm interval in milliseconds |
java.lang.String |
getTriggerAbsoluteTime()
Get the alarm trigger absolute time |
boolean |
setAlarmInterval(long interval)
Set the alarm interval in milliseconds. |
void |
setCalEndAbsoluteTime(long time)
Set the related end absolute time |
void |
setCalStartAbsoluteTime(long time)
Set the related start absolute time |
void |
setTriggerAbsoluteTime(long time)
Set the alarm trigger absolute time. |
void |
setTriggerAbsoluteTime(java.lang.String time)
Set the alarm trigger absolute time. |
void |
setTriggerRelated(java.lang.String related)
Set the alarm related property: START or END |
void |
setTriggerRelativeTime(java.lang.String time)
Set the alarm trigger relative time (the interval). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VAlarm()
Method Detail |
---|
public void setTriggerAbsoluteTime(java.lang.String time)
time
- the alarm absolute time in String format.public void setTriggerAbsoluteTime(long time)
time
- the alarm absolute time in milliseconds.public java.lang.String getTriggerAbsoluteTime()
public void setTriggerRelativeTime(java.lang.String time) throws ParseException
time
- the relative time in String ISO 8601 format
ParseException
public void setCalStartAbsoluteTime(long time)
time
- the absolute time in millisecondspublic void setCalEndAbsoluteTime(long time)
time
- the absolute timepublic void setTriggerRelated(java.lang.String related)
related
- the related propertypublic long getAlarmInterval()
public boolean setAlarmInterval(long interval)
interval
- the alarm interval in milliseconds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |