Hi Matthew, > Cheers Ryan that fixed that problem. Great news.
> It seems that if any occurrence of a recurring appointment is > within the range then the whole recurrence is retrieved. The whole gd:recurrence content (in icalendar format) is retrieved. However, when you specify start-min and start-max-- only events within that range are returned, and recurrence-expansion is implied such that recurrences within the specified range are expanded to include the gd:when elements. > I was interested to know what the EventQuery.RecurrenceStart and > EventQuery.RecurrenceEnd are for, can't find any documentation for > them, or seem to figure out what they do. The EventQuery.RecurrenceStart and EventQuery.RecurrenceEnd cause the 'recurrence-expansion-start' and 'recurrence-expansion-end' parameters to be sent. These parameters effect only the expansion of recurring events and do not limit the retrieval of entries in the feed. As an example, let's say you had a calendar with 3 events: 1) John's Birthday on 2007-11-01 2) Goto work everyday 2007-01-01 until 2007-12-31 3) Jane's Birthday on 2007-12-01 Case A) Let's say you specified a start-min (StartTime) and start-max (EndTime): /calendar/feeds/default/private/full?start-min=2006-11-01&start-max=2006-11-05 You would get an instance of events #1 and events #2. The full recurrence icalendar syntax would be present for event #2, but the gd:when elements would only exist for the days 11-01,11-02,11-03,11-04. Case B) Let's say you specified only a recurrence-expansion-start (ReccurrenceStart) and recurrence-expansion-end (RecurrenceEnd): /calendar/feeds/default/private/full?recurrence-expansion-start=2006-11-01&recurrence-expansion-end=2006-11-05 You would get an instance of all 3 events. The full recurrence icalendar syntax would be present for event #2, but the gd:when elements would only exist for the days 11-01,11-02,11-03,11-04. Case C) Let's say you specified both the recurrence-expansion and start pairs with matching values. Since the start-min and start-max imply identical recurrence-expansion-start and recurrence-expansion-end elements, you would see the same results as in Case A. However, if you specified different recurrence-expansion values, these values would take precedence. Hope this helps! Cheers, -Ryan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
