Frank Mantek
On 5/16/06, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:
I craete a recurring event, and read this event with the google API.
Doesn't work.
CalendarQuery myQuery = new CalendarQuery(feedUrl);
myQuery.setMinimumStartTime(DateTime.parseDateTime("2006-05-01T00:00:00"));
myQuery.setMaximumStartTime(DateTime.parseDateTime("2006-06-01T23:59:59"));
BaseFeed myFeed = myService.query(myQuery, Feed.class);
List lEntry = myFeed.getEntries();
for (int n=0; lEntry.size()-1 >= n; n++){
BaseEntry myEntry = (BaseEntry) lEntry.get(n);
List lWhen = myEntry.getRepeatingExtension(When.class);
for (int i=0; lWhen.size()-1 >= i; i++){
When myWhen = (When) lWhen.get(i);
DateTime myEndDate = myWhen.getEndTime();
DateTime myStartDate = myWhen.getStartTime();
System.out.println(myEndDate.toString());
Where is the problem?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
