That did the trick, thanks!

-Matt

On Mar 7, 10:30 am, "Ryan Boyd (Google)" <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> Here's example code for an all day event occurring on 2006-04-20.
>
> DateTime startTime = DateTime.parseDate("2006-04-20");
> DateTime endTime = DateTime.parseDate("2006-04-21");
> When eventTimes = new When();
> eventTimes.setStartTime(startTime);
> eventTimes.setEndTime(endTime);
> myEntry.addTime(eventTimes);
>
> Cheers,
>
> -Ryan
>
> On Mar 7, 12:45 am, "Matt Staats" <[EMAIL PROTECTED]> wrote:
>
> > Hi - I'm attempting to add an all day event to a Google Calendar via
> > the Java API, and have thus far been unsuccessful. I followed the tips
> > in the previous all day Java thread, but unfortunately the results
> > were the same - I can post events to the calendar, but cannot set the
> > all day flag, even if I set only the date (and set the "setOnlyDate"
> > flag.)
>
> > Is there something I'm missing? How would I go about working around
> > this issue?
>
> > Thanks in advance.
>
> > -Matt


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