Hello,
According to the CalendarEventEntry class definition that you can find
here:
http://code.google.com/apis/gdata/jsdoc/1.1/google/gdata/calendar/CalendarEventEntry.html
You might have to do something similar to this (I didn't test it):
[CODE]
var eventTimes = eventEntry.getTimes();
// need to check for undefined eventTimes.
for (var j = 0; j < eventTimes.length; ++j) {
// Those methods will return gdata.DateTime objects.
var startTime = eventTimes[j].getStartTime();
var endTime = eventTimes[j].getEndTime();
// Do what you want with the start and end times.
}
[/CODE]
You can find more information about the DateTime class
here: http://code.google.com/apis/gdata/jsdoc/1.1/google/gdata/DateTime.html
I hope this helped!
Best,
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