|
@@ -74,6 +74,7 @@ public class DateUtils extends org.apache.commons.lang3.time.DateUtils {
|
|
thisDay.set(Calendar.MONTH, Integer.valueOf(nowTime.substring(5,7))-1); //月份 从0 开始
|
|
thisDay.set(Calendar.MONTH, Integer.valueOf(nowTime.substring(5,7))-1); //月份 从0 开始
|
|
thisDay.set(Calendar.DAY_OF_MONTH, Integer.valueOf(nowTime.substring(8,10)));
|
|
thisDay.set(Calendar.DAY_OF_MONTH, Integer.valueOf(nowTime.substring(8,10)));
|
|
thisDay.add(Calendar.YEAR,5);
|
|
thisDay.add(Calendar.YEAR,5);
|
|
|
|
+ thisDay.add(Calendar.DAY_OF_MONTH, -1);
|
|
Date time5 = thisDay.getTime();
|
|
Date time5 = thisDay.getTime();
|
|
return time5;
|
|
return time5;
|
|
}
|
|
}
|