I need to retrieve events on a specific day and time range. I have the following set up:

myQuery.setMinimumStartTime(DateTime.parseDateTime(2011-07-30T12:00;00));
myQuery.setMaximumStartTime(DateTime.parseDateTime(2011-07-30T23:59:59));

The query correctly returns the only event that starts in the date time Range.

It also incorrectly returns an event that is within the time range, but occurs on the previous day.

I note that the date/time returned for the events includes the time zone, but I can't find a way to tell the query about the timezone of the event. Did I miss something?

On Time Zones: the time zone returned with the event is -4:00. The Time Zone for the event is actually -5:00 (Eastern). Since we are in Daylight Savings Time, the -4:00 is the mathematically correct value. So If I need to provide a time zone, should I be telling it -4:00, or use "America/Montreal" as is returned by the gcal:timezone value returned by the query? Where would I set that?

Thanks for your time.


--
I know you believe you understand what you think I said, but I am not sure that you realize that what you heard was not what I meant.

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