更新了GWT 2.1的答案
final Date dueDate = new Date();CalendarUtil.addDaysToDate(dueDate, 21);
编辑:此类的完全限定名称为com.google.gwt.user.datepicker.client.CalendarUtil。

更新了GWT 2.1的答案
final Date dueDate = new Date();CalendarUtil.addDaysToDate(dueDate, 21);
编辑:此类的完全限定名称为com.google.gwt.user.datepicker.client.CalendarUtil。