jazzband / icalevents

Python module for iCal URL/file parsing and querying.
MIT License
160 stars 72 forks source link

How to iterate over recurring events with a time constraint? #60

Closed wsw70 closed 3 weeks ago

wsw70 commented 5 years ago

I could not find any documentation so sorry if this is explained somewhere.

I accessed a Google Calendar URL to retrieve a calendar. It has two recurring events. What I get as a reply is a list of these two events.

ndw commented 4 years ago

I don't think there's a way to get a projection for any given event, but if you iterate over the Monday's that you're interested in and ask "what events occur on this day", I think you can get the results.

eigenmannmartin commented 3 weeks ago

You can use the uid. All instances of the expanded (rrule) event have the same uid as the original event.

Please tell me if this is still pending.