This approach - but what people do more often leads to the denormalization of their schedules in a format that is convenient to request.
You may have a collection called something like ScheduleOccurrences, which you create every week / and then request it.
Unfortunately, it should work this way, but adhering to the iCal schedule management method has led IceCube to need to format its data in certain ways (in particular, methods that may comply with iCal RFC requirements).
I recently thought about what the library would look like, which has removed some of these restrictions, for more flexibility like this, but its definitely still not working a bit.
Hope this helps
source share