views:

8

answers:

0

If I have an instance of a CalendarEventEntry, how can I find out which CalendarEntry (or calendar) owns it?

Excerpt from Google's Calendar API samples:

CalendarEventFeed resultFeed = service.getFeed(eventFeedUrl,
        CalendarEventFeed.class);

    System.out.println("All events on your calendar:");
    System.out.println();
    for (int i = 0; i < resultFeed.getEntries().size(); i++) {
      CalendarEventEntry entry = 
            resultFeed.getEntries().get(i);//which calendar owns me?
      //...
    }
    //..
  }

Google Calendar Java API reference is here: http://code.google.com/apis/gdata/javadoc/

Thanks for your time!