[libical] Accounting for overridden recurrences

Ken Murchison murch at andrew.cmu.edu
Mon Mar 19 06:07:06 PDT 2012


Just getting started with libical and I need to iterate through all 
recurrences of an event, so I am using 
icalcomponent_foreach_recurrence() on the first VEVENT in the VCALENDAR 
object.  This does everything that is expected except it doesn't account 
for any overridden recurrences that appear as additional VEVENTS in the 
VCALENDAR object.

Am I doing something wrong, or do I have to create my own in-memory 
recurrence list using foreach() and then do the overrides myself based 
on the RECURRENCE-IDs?

-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University




More information about the libical-interest mailing list