[Vobject] Getting a list of events (including rr:s) by datetime

tsr tsr.offentlig at tsr.se
Fri Apr 23 13:09:36 CDT 2010


Hi,

(This is probably pretty obvious, but I'm not only a newbie with
iCalendar but also with python. I've been trying to figure this one out
for a while but no luck...)

So, what I want is to assuming an iCal-file as input and given a start
and end datetime I want to create a list of all events (where recurring
events are "expanded" for each time they occur in the datespan) in order
by datetime.

I understand how to get the non-recurring-events and their start and end
datetime, after I got them all it's no biggie to sort them. The problem
is finding out a way to extract rr-events into a timespan.

I know I've seen code for that a while back but searching for it now I
can't find it. Help?

/Tomas



More information about the VObject mailing list