I have not tested the edge conditions around daylight savings times,
but I found this useful:

import com.google.gwt.user.datepicker.client.CalendarUtil;

Date now = new Date();
int nDays = 1;
CalendarUtil.addDaysToDate(now, nDays);

The number of days can be negative if you need to go back. There are a
few other useful functions in there too.

Good luck,
Rick

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-web-toolkit?hl=en.

Reply via email to