GWT 时间操作

String d = DateTimeFormat.getFormat("yyyy-MM-dd HH:mm:ss").format(picker.getValue());

DateWrapper dw = new DateWrapper (picker.getValue());
DateWrapper dws = dw.addDays(1);
String s = DateTimeFormat.getFormat("yyyy-MM-dd HH:mm:ss").format(dws.asDate());
AppView.mapPage.query (d,s);

你可能感兴趣的:(gwt)