VTIMEZONE in Events from Evolution



I am working on the google Calendar dataprovider, and it looks like I
need to get the VTIMEZONE along with the VEVENT from EvoCalendarTwoWay
dataprovider.

I did a little digging and it looks like evolution's libecal has a
function for this, but I don't know how to expose it in
evolution-python. Can anyone help me out?

Here is the function I think I need, it is in
evolution-data-server/calendar/libecal/e-cal.h

/**
 * e_cal_get_component_as_string:
 * @ecal: A calendar client.
 * @icalcomp: A calendar component object.
 *
 * Gets a calendar component as an iCalendar string, with a toplevel
 * VCALENDAR component and all VTIMEZONEs needed for the component.
 *
 * Return value: the component as a complete iCalendar string, or NULL
on
 * failure. The string should be freed after use.
 **/
char*
e_cal_get_component_as_string (ECal *ecal, icalcomponent *icalcomp)






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]