I see that you're still having issues with your all-day events.

An all-day event on 12-24:

for (EventEntry calEntry : calFeed.getEntries())
                {
                        for (Object o : calEntry.getTimes())
                        {
                                When when = (When) o;

                                Calendar start = Calendar.getInstance();
                                
start.setTimeInMillis(when.getStartTime().getValue());
                                int day = start.get(Calendar.DAY_OF_MONTH);
                        }
                }

day will be 23.

if change to

Calendar start = Calendar.getInstance(TimeZone.getTimeZone("GMT"))

then day will be 24, which is correct.

But then non-all-day events are one day wrong.

Any suggestions, or is this a known bug?


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