Hi Alain,

     I am using java language and using the code below, 

                When eventTimes = new When();
                eventTimes.setStartTime(new DateTime(startTime,timezone));
                eventTimes.setEndTime(new DateTime(endTime,timezone));
                myEntry.addTime(eventTimes);
   
    The above code is working for all cases except 12:00 - 12:59 as endTime.

    For eg: startTime: 2011-03-21 10:30 & endTime: 2011-03-21 12:49 using 
for above code, throws an exception as 
    java.lang.IllegalStateException: g:when/@startTime must be less than or 
equal to g:when/@endTime.

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