Ray, I was a bit over zealous with the data received some of it is added by us to make an iCal compliant recurrence rule the actual data received from the following line of code.
googleEntry.getRecurrence().getValue() is DTSTART;VALUE=DATE:20070716 DTEND;VALUE=DATE:20070717 BEGIN:VTIMEZONE TZID:America/Los_Angeles X-LIC-LOCATION:America/Los_Angeles BEGIN:DAYLIGHT TZOFFSETFROM:-0800 TZOFFSETTO:-0700 TZNAME:PDT DTSTART:19700308T020000 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:-0700 TZOFFSETTO:-0800 TZNAME:PST DTSTART:19701101T020000 RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU END:STANDARD END:VTIMEZONE As you can see the event we receive has data signifying that it is a recurring event. But as you said if recurs zero times so it is kind of caught between the 2 distinctions. (Single vs. Recurring). This event when received, has no value in the googleEntry.getTimes(). Hope this might help clarify things, Mike On Jul 17, 1:06 am, Ray Baxter <[EMAIL PROTECTED]> wrote: > mike wrote: > > I am receiving an invalid recurrence rule when I create a recurring > > event on Google that is an all day event on July 16 that repeats every > > day until July 16. I know this is a weird case, and why would someone > > do it, but it is allowed to be entered so ... > > When this is done the recurrence rule has no RRULE just a start and an > > end, I have attached the recurrence string received from the Google > > feed. > > [I'm assuming that you meant EVENT where you wrote recurrence rule. If > not, ignore below and please rephrase the question in more detail.] > > You are creating an event that recurs zero times. It occurs once, like > all events, and never recurs. > > An event with rule that says "recur 0 times" is a non-recurring event, > by definition. > > Non-recurring events don't have recurrence rules. > > It seems like the following is a valid iCalendar representation of what > you entered, ignoring timezones. > > > BEGIN:VCALENDAR > > BEGIN:VEVENT > > DTSTART;VALUE=DATE:20070716 > > DTEND;VALUE=DATE:20070717 > > .... > > END:VEVENT > > END:VCALENDAR > > 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 -~----------~----~----~----~------~----~------~--~---
