Hi, Yes you are right, Feed.class should be replaced with CalendarEventFeed.class. I will add that to the list of doc fix for the fix next iteration. Thanks for the catch!
Austin On Fri, May 2, 2008 at 2:43 PM, sam_thrust <[EMAIL PROTECTED]> wrote: > > Retrieving events for a specified date range (Java) > > > http://code.google.com/apis/calendar/developers_guide_java.html#RetrievingDateRange > > In the last line of the code: > > // Send the request and receive the response: > CalendarEventFeed resultFeed = myService.query(myQuery, Feed.class); > > > We are passing Feed.class and storing it into CalendarEventFeed object > variable. > > Feed is a super class of CalendarEventFeed. Hence the > CalendarEventFeed class object wont be able to recognize the result of > myService.query(...) method. It will result in a compiler error. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
