I've been looking up and down the api-docs and couldn't find out if and when the method returns more than one When
instance. The code seems to parse repeating occurrences of <gd:when>
elements, the common elements section of the protocol description has a *
after the gd:when
property, indicating that there can be multiple elements of this type. But the description implies that there is only one event element.
So in which case does CalendarEventEntry.getTimes()
return more than one When
instance? It seems to be possible to add multiple instances via addTime()
, but can you do it via the default web interface?
The answer can be found in Data API Developer's Guide: The Protocol: Section "Creating Recurring Events":