i need to create start date with like one hour from 15:00 to 16:00 and
repeat for all day


DateTime startTime = DateTime.parseDateTime("2011-05-16T15:00:00");

DateTime endTime =DateTime.parseDateTime("2011-05-16T17:00:00");
//startTime.setDateOnly(true);
When eventTimes = new When();
eventTimes.setStartTime(startTime);
eventTimes.setEndTime(endTime);
myEntry.addTime(eventTimes);
// Send the request and receive the response:
CalendarEventEntry insertedEntry = myService.insert(postUrl, myEntry);

On Mon, May 16, 2011 at 5:54 PM, Alain <[email protected]> wrote:

> Hello Redha,
>
> Could you post the part of your code that creates the event(s) so that we
> can take a look and point you to the right direction?
>
> Thanks!
> Alain
>
> --
> 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://code.google.com/apis/calendar/community/forum.html
>

-- 
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://code.google.com/apis/calendar/community/forum.html

Reply via email to