public final class ICalendarCodec
- Object
- 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.
Methods
Inherited methods
Method details
writeEvent
public static String writeEvent(CalendarEvent event)writeTask
public static String writeTask(CalendarTask task)readEvent
public static CalendarEvent readEvent(String text)
throws CalendarExceptionThrows
readTask
public static CalendarTask readTask(String text)
throws CalendarExceptionThrows
writeRecurrenceRule
public static String writeRecurrenceRule(CalendarRecurrenceRule rule)Serializes a recurrence rule without the
RRULE: prefix.readRecurrenceRule
public static CalendarRecurrenceRule readRecurrenceRule(String value)
throws CalendarExceptionParses a recurrence rule with or without an
RRULE: prefix.