Hi,
To update times and locations of an event entry would entail the same
approach that you need to first clear the list of When or Where object and
then add your updated When or Where object. The following demonstrates how
to update the times of an event -
List whens = entry.getTimes();
whens.clear();
When newWhen = new When();
newWhen.setStartTime(getFromToday(2));
newWhen.setEndTime(getFromToday(3));
whens.add(newWhen);
entry.update();
Hope it helps,
Austin
On Sat, Jul 19, 2008 at 11:15 PM, Anto <ant...@gmail.com> wrote:
Hi, I'm trying to update an existing event, I' ve changed the title
and the description without any problem but I can't update location
and time, I can only add new locations and times but how can I
replace the first in the list?
Thanks for your answers :)