Hi Trevor,

Thanks for the reply. I figured out what was wrong.

I examined the sample code again and noticed that the only thing I did
differently was change:

calendar.setTimeZone(new TimeZoneProperty("America/Los_Angeles"));

to

calendar.setTimeZone(new TimeZoneProperty("America/New York"));

I was missing an underscore in "New_York", which is what caused the
problem.

Thanks again for the help,
Dan

On Jan 9, 9:22 pm, Trevor Johns <[email protected]> wrote:
> On Jan 9, 2009, at 7:03 AM, djaunl wrote:
>
>
>
>
>
> > Hi,
>
> > When I use the Gcal API to create a new Calendar I'm basically
> > following the exact steps laid out in the developer's guide for Java
> > here:http://code.google.com/apis/calendar/docs/2.0/developers_guide_java.h...
>
> > I just create the CalendarEntry, set the different fields (title,
> > summary, timezone, etc.) and insert it into my Google Calendar using
> > the POST URL:http://www.google.com/calendar/feeds/default/owncalendars/full
> > .
> > However, when I go to my Google Calendar online, it seems as if I
> > cannot edit things in this calendar. I cannot click on the drop-down
> > arrow next to the calendar name under "My Calendars", and I cannot
> > move events around in the calendar.
>
> > I've tried setting the access level to "owner" and I've tried setting
> > 'canEdit' to true, but neither of those work, and I'm not sure what
> > else I can do. I feel as if I'm missing something obvious.
>
> > Does anyone have any ideas?
>
> > Thanks!
>
> Djaunl,
> I'm afraid I'm not able to reproduce this on my end. I ran the code  
> under #CreatingCalendars, and was subsequently able to both enable the  
> calendar, create events, move events around, and change the calendar's  
> title.
>
> Did you do anything different from the sample code?
>
> --
> Trevor Johns
>
> --
> Trevor Johns

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