Question

I am trying to read all instances of events for a specific calendar and a specific period. Here is my problem.

(1) I read all instances of events for the specific period, then I query an event for each event instance to see if the event instance belong to the calendar. It is quite slow.

(2) I read all events for the specific period, then read all instances of the recurring event. I will miss the events started prior to my date range.

Any suggestions are welcome?

Was it helpful?

Solution

for #2 - in your date query you should use 'between' start end and end date then you will not miss events started prior to your date range.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top