问题描述
解决方案
http://www.cxybl.com/html/wlbc/db/MYSQL/20120615/30335.html
解决方案二:
import org.joda.time.DateTime;
import org.joda.time.Days;
import org.joda.time.LocalDate;
//使用这个joda
LocalDate start = LocalDate.fromDateFields(lsjl.getDate("begindate"));
LocalDate end = LocalDate.fromDateFields(lsjl.getDate("enddate"));
时间: 2024-10-01 10:02:15