摘要: 增加年: Date addTime(int year) { Calendar cd = new GregorianCalendar(); cd.setTime(new Date()); cd.add(GregorianCalendar.YEAR, year); return cd.getTime(); } 增加月: Date addTime(int month)... 阅读全文
posted @ 2019-05-22 11:23 y-xs 阅读(439) 评论(0) 推荐(0) 编辑