Jacob Basham wrote: > Use the recurring event data to calculate how many times the event > happens between the curent date and the date the event occurs until. > If the number is over 1000, add the max query amount to that number. >
When making this calculation, keep in mind that the maximum number of repeats of a single recurrent event with singleevents=true is 365. I don't see that this is documented anywhere, but perhaps I missed it. I ran up against this limitation last month and posted the results here: http://cornercases.67central.com/2007/06/05/limitation-on-recurring-events-in-google-calendar/ > On Jul 2, 2007, at 9:16 PM, "Jacky.S" <[EMAIL PROTECTED]> wrote: >> How to query schedule when schedule's count is more than the MAX of >> max-result? >> >> To synchronized schedule with Google Calendar, I tried to query some >> updated recurrent entities by setting "singleevents=true" and I set >> "max-result" is 1000. But because of "single recurrent event", the >> count of entities may be easily exceed 1000. So there would always be >> some updated events that can't be queried. >> >> However, I can temporarily sovle this problem by resetting "max- >> result" value to a larger one. But I can't guarantee that if the count >> of schedule that is going to be queried would still be more than the >> value of max-result or even more than the MAX value of max-result. >> >> Anyone can help me? >> >> You might try playing around with the start-min and start-max parameters, but it doesn't look too promising. In a sample calendar http://www.google.com/calendar/embed?src=1durhf5pmv4jt7uk35ipo025jc%40group.calendar.google.com&dates=20080601%2F20080701 I created a recurring event that started on June 9th, 2007 and repeated every day. The last day that the event appears is June 7th, 2008. When I first created this calendar a month ago, I was hopeful that as the first events rolled by that they would be replaced by later events to replace them, but this hasn't happened. Forming a query with start-min=2008-06-08, returns no events. I'm coming to the conclusion that singleevents=true isn't going to work for my application and that I am going to have to implement the recurrence rules myself. Ray --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
