public final class ICalendarCodec

  1. Object
  2. 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

public static String writeEvent(CalendarEvent event)
public static String writeTask(CalendarTask task)
public static CalendarEvent readEvent(String text) throws CalendarException
public static CalendarTask readTask(String text) throws CalendarException
public static String writeRecurrenceRule(CalendarRecurrenceRule rule)Serializes a recurrence rule without the RRULE: prefix.
public static CalendarRecurrenceRule readRecurrenceRule(String value) throws CalendarExceptionParses a recurrence rule with or without an RRULE: prefix.

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 CalendarException

readTask

public static CalendarTask readTask(String text) throws CalendarException

writeRecurrenceRule

public static String writeRecurrenceRule(CalendarRecurrenceRule rule)
Serializes a recurrence rule without the RRULE: prefix.

readRecurrenceRule

public static CalendarRecurrenceRule readRecurrenceRule(String value) throws CalendarException
Parses a recurrence rule with or without an RRULE: prefix.