util_parse_ics_string


Description:


public Component? util_parse_ics_string (string string)

Parses an iCalendar string and returns a new Component representing that string.

Note that this function deals with multiple VCALENDAR's in the string, something that Mozilla used to do and which libical does not support.

Free the returned non-NULL component with unref, when no longer needed.

Parameters:

string

iCalendar string to be parsed.

Returns:

a newly created Component, or null, if the string isn't a valid iCalendar string.


Namespace: ECal
Package: libecal-2.0



2022 vala-language.org