Hi,
Recurrence is represented using ical format (
http://www.ietf.org/rfc/rfc2445.txt), therefore it doesn't populate the When
collection. If you want to access the ical formatted string for the
recurrence, you can do -
String icalString = entry.getRecurrence().getValue();
If you really want to deal with When object, you can force the recurrence to
be rolled into single events. You can do that by supplying the query
parameter to set "singleevents" to true -
Query query = new CalendarQuery();
query.setStringCustomParameter("singleevents", "true");
Hope that helps,
Austin
On Wed, Aug 20, 2008 at 4:03 PM, CJ <[EMAIL PROTECTED]> wrote:
>
> For a regular CalendarEventEntry, I can use
> CalendarEventEntry entry = blahblah;
> List <When> eventwhen= entry.getTimes();
>
> But, for a recurrence event, eventwhen is an empty list.
>
> Can anybody tell me why? And how to solve it?
> Thanks
> CJ
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---