Thank you so much,and what about this one,if I want to update the
event,is there problem in the codes below ?

URL postUrl =new URL("http://www.google.com/calendar/feeds/
[EMAIL PROTECTED]/private/full");
CalendarEventEntry myEntry = new CalendarEventEntry();
DateTime startTime = DateTime.parseDateTime("2008-12-17T15:00:00");
DateTime endTime = DateTime.parseDateTime("2008-12-17T17:00:00");
When eventTimes = new When();
eventTimes.setStartTime(startTime);
eventTimes.setEndTime(endTime);
myEntry.addTime(eventTimes);
CalendarEventEntry retrievedEntry = new CalendarEventEntry();
retrievedEntry.setTitle(new PlainTextConstruct("Important meeting"));
URL editUrl = new URL(retrievedEntry.getEditLink().getHref());
CalendarEventEntry updatedEntry = (CalendarEventEntry)myService.update
(editUrl, myEntry);

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to