Original thread I posted (which is too old to post to) talks about the
same problem using Java API:
http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread/1a635a7c6cb58959
But I did some more research and found that this is not Java API
issue, so here it is.

In summary, when an instance of recurring event is changed its time,
a date-range query returns a wrong feed, it seems.

Here's how to demonstrate the problem:

1. From google calendar UI, create a daily recurring event from
2005/01/01 to 2005/01/03,
   setting its time to 10:00-11:00.
2. Update an instance on 2005/01/02 and change its time to
11:00-12:00.
3. View an event feed with
http://www.google.com/calendar/feeds/userID/private-magicCookie/full?start-min=2005-01-01T00:00:00&start-max=2005-02-01T00:00:00

Below is the resulting xml feed.
The first entry has an original event (the second entry)
with its original start time being '2005-01-02T10:00:00.000+09:00'.
The second entry has three 'when's, and the second one is the one that
should be
matched to the first entry, but it has start time of
'2005-01-02T11:00:00.000+09:00'.
So I cannot find a matching 'when' of original event of the first
entry.

Should the second 'when' of the second entry have time from
10:00-11:00?
Maybe the second 'when' of the second entry should not appear in the
feed at all?
Or is it expected behavior?


<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://
a9.com/-/spec/opensearchrss/1.0/' xmlns:gd='http://schemas.google.com/
g/2005' xmlns:gCal='http://schemas.google.com/gCal/2005'>
 <id>http://www.google.com/calendar/feeds/userID/private-magicCookie/
full</id>
 <updated>2007-05-09T05:03:12.000Z</updated>
 <category scheme='http://schemas.google.com/g/2005#kind' term='http://
schemas.google.com/g/2005#event'>
 </category>
 <title type='text'>First Last</title>
 <subtitle type='text'>First Last</subtitle>
 <link rel='http://schemas.google.com/g/2005#feed' type='application/
atom+xml' href='http://www.google.com/calendar/feeds/userID/private-
magicCookie/full'>
 </link>
 <link rel='self' type='application/atom+xml' href='http://
www.google.com/calendar/feeds/userID/private-magicCookie/full?max-results=25&amp;start-min=2005-01-01T00%3A00%3A00&amp;start-max=2005-02-01T00%3A00%3A00'>
 </link>
 <author>
   <name>First Last</name>
   <email>[EMAIL PROTECTED]</email>
 </author>
 <generator version='1.0' uri='http://www.google.com/calendar'>Google
Calendar</generator>
 <openSearch:totalResults>5</openSearch:totalResults>
 <openSearch:startIndex>1</openSearch:startIndex>
 <openSearch:itemsPerPage>25</openSearch:itemsPerPage>
 <gCal:timezone value='Asia/Tokyo'>
 </gCal:timezone>
 <entry>
   <id>http://www.google.com/calendar/feeds/userID/private-magicCookie/
full/jbofkbm426volaqb9u192737f0_20050102T010000Z</id>
   <published>2007-05-07T20:16:20.000Z</published>
   <updated>2007-05-07T20:16:43.000Z</updated>
   <category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/g/2005#event'>
   </category>
   <title type='text'>RecurringEvent</title>
   <content type='text'>
   </content>
   <link rel='alternate' type='text/html' href='http://www.google.com/
calendar/event?
eid=amJvZmtibTQyNnZvbGFxYjl1MTkyNzM3ZjBfMjAwNTAxMDJUMDEwMDAwWiBpY2hpemVuMzlAbQ'
title='alternate'>
   </link>
   <link rel='self' type='application/atom+xml' href='http://
www.google.com/calendar/feeds/userID/private-magicCookie/full/jbofkbm426volaqb9u192737f0_20050102T010000Z'>
   </link>
   <author>
     <name>First Last</name>
     <email>[EMAIL PROTECTED]</email>
   </author>
   <gd:originalEvent id='jbofkbm426volaqb9u192737f0' href='http://
www.google.com/calendar/feeds/userID/private-magicCookie/full/jbofkbm426volaqb9u192737f0'>
     <gd:when startTime='2005-01-02T10:00:00.000+09:00'>
     </gd:when>
   </gd:originalEvent>
   <gd:comments>
     <gd:feedLink href='http://www.google.com/calendar/feeds/userID/
private-magicCookie/full/jbofkbm426volaqb9u192737f0_20050102T010000Z/
comments'>
     </gd:feedLink>
   </gd:comments>
   <gd:eventStatus value='http://schemas.google.com/g/
2005#event.confirmed'>
   </gd:eventStatus>
   <gd:transparency value='http://schemas.google.com/g/
2005#event.opaque'>
   </gd:transparency>
   <gCal:sendEventNotifications value='false'>
   </gCal:sendEventNotifications>
   <gd:when startTime='2005-01-02T11:00:00.000+09:00'
endTime='2005-01-02T12:00:00.000+09:00'>
     <gd:reminder minutes='1440' method='sms'>
     </gd:reminder>
   </gd:when>
   <gd:where valueString=''>
   </gd:where>
 </entry>
 <entry>
   <id>http://www.google.com/calendar/feeds/userID/private-magicCookie/
full/jbofkbm426volaqb9u192737f0</id>
   <published>2007-05-07T20:16:20.000Z</published>
   <updated>2007-05-07T20:16:20.000Z</updated>
   <category scheme='http://schemas.google.com/g/2005#kind'
term='http://schemas.google.com/g/2005#event'>
   </category>
   <title type='text'>RecurringEvent</title>
   <content type='text'>
   </content>
   <link rel='alternate' type='text/html' href='http://www.google.com/
calendar/event?
eid=amJvZmtibTQyNnZvbGFxYjl1MTkyNzM3ZjBfMjAwNTAxMDFUMDEwMDAwWiBpY2hpemVuMzlAbQ'
title='alternate'>
   </link>
   <link rel='self' type='application/atom+xml' href='http://
www.google.com/calendar/feeds/userID/private-magicCookie/full/jbofkbm426volaqb9u192737f0'>
   </link>
   <author>
     <name>First Last</name>
     <email>[EMAIL PROTECTED]</email>
   </author>
   <gd:recurrence>DTSTART;TZID=Asia/Tokyo:20050101T100000
DTEND;TZID=Asia/Tokyo:20050101T110000
RRULE:FREQ=DAILY;UNTIL=20050103T010000Z;WKST=SU BEGIN:VTIMEZONE
TZID:Asia/Tokyo X-LIC-LOCATION:Asia/Tokyo BEGIN:STANDARD TZOFFSETFROM:
+0900 TZOFFSETTO:+0900 TZNAME:JST DTSTART:19700101T000000 END:STANDARD
      END:VTIMEZONE
     </gd:recurrence>
   <gd:eventStatus value='http://schemas.google.com/g/
2005#event.confirmed'>
   </gd:eventStatus>
   <gd:transparency value='http://schemas.google.com/g/
2005#event.opaque'>
   </gd:transparency>
   <gCal:sendEventNotifications value='false'>
   </gCal:sendEventNotifications>
   <gd:when startTime='2005-01-03T10:00:00.000+09:00'
endTime='2005-01-03T11:00:00.000+09:00'>
     <gd:reminder minutes='1440' method='sms'>
     </gd:reminder>
   </gd:when>
   <gd:when startTime='2005-01-02T11:00:00.000+09:00'
endTime='2005-01-02T12:00:00.000+09:00'>
     <gd:reminder minutes='1440' method='sms'>
     </gd:reminder>
   </gd:when>
   <gd:when startTime='2005-01-01T10:00:00.000+09:00'
endTime='2005-01-01T11:00:00.000+09:00'>
     <gd:reminder minutes='1440' method='sms'>
     </gd:reminder>
   </gd:when>
   <gd:reminder minutes='1440' method='sms'>
   </gd:reminder>
   <gd:where valueString=''>
   </gd:where>
 </entry>
</feed>


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to