Hi,

I'm trying to update the timezone of a Calendar trough the Calendar
API. For some reason, this property doesn't get saved.

Code:

URL calendarFeedURL = new URL("http://www.google.com/calendar/feeds/";
+ email + "/owncalendars/full");
CalendarFeed calFeed = myService.getFeed(calendarFeedURL,
CalendarFeed.class);

System.out.println(calendar.getTimeZone().getValue()); //Prints
"Europe/Brussels"
calendar.setTimeZone(new TimeZoneProperty("America/New_York"));
System.out.println(calendar.getTimeZone().getValue()); //Prints
"America/New_York"
calendar = calendar.update();
System.out.println(calendar.getTimeZone().getValue()); //Prints
"Europe/Brussels"

Is this a property that can not be updated trought the API? (The
service credentials used are those of the owner of the e-mail address
and calendar)

Thanks,

Mathias

--

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