|
|
@@ -196,15 +196,13 @@ public class ScheduleServiceImpl implements ScheduleService {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* 获得num天后的日期
|
|
|
* @param oldDate
|
|
|
* @param num
|
|
|
* @return
|
|
|
- * @throws ParseException
|
|
|
*/
|
|
|
- Date getNumDayAfterDate(Date oldDate, int num) throws ParseException {
|
|
|
+ Date getNumDayAfterDate(Date oldDate, int num){
|
|
|
Calendar calendarTime = Calendar.getInstance();
|
|
|
calendarTime.setTime(oldDate);
|
|
|
calendarTime.add(Calendar.DAY_OF_YEAR, num);
|