Class ICalendarCodec
java.lang.Object
com.codename1.calendar.ICalendarCodec
Reads and writes the interoperable portion of RFC 5545 used by events,
tasks, CalDAV, and file import/export. Unknown X-properties are preserved
in provider data so a read/write cycle doesn't silently discard extensions.
-
Method Summary
Modifier and TypeMethodDescriptionstatic CalendarEventstatic CalendarRecurrenceRulereadRecurrenceRule(String value) Parses a recurrence rule with or without anRRULE:prefix.static CalendarTaskstatic StringwriteEvent(CalendarEvent event) static StringSerializes a recurrence rule without theRRULE:prefix.static StringwriteTask(CalendarTask task)
-
Method Details
-
writeEvent
-
writeTask
-
readEvent
- Throws:
CalendarException
-
readTask
- Throws:
CalendarException
-
writeRecurrenceRule
Serializes a recurrence rule without theRRULE:prefix. -
readRecurrenceRule
Parses a recurrence rule with or without anRRULE:prefix.- Throws:
CalendarException
-