I am getting  a CalendarEventFeed then running thru the entries to get 
dates, I only use all day events.
I need to find out the day of the week so I am using the 
Calendar cal = Calendar.getInstance();
cal.setTime(dt);
i = cal.get(Calendar.DAY_OF_WEEK);
where dt is a date object derived from DateTime object of entry. 
I tried

dt = new Date(entry.getTimes().get(0).getStartTime().getValue();
but was getting a Date one day earlier than actual date

this
entry.getTimes().get(0).getStartTime().toUiString();

returned correct date the I used SimpleDateFormat to covert to Date


i checked the tmz shift and it is null

Why is getValue()  to date  coming up a day early?

Thanks,  any thought on DateTime manipulation would be appreciated



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