日期:2014-05-20 浏览次数:20878 次
Calendar calendar = Calendar.getInstance(); calendar.setTime(new Date()); calendar.set(Calendar.DAY_OF_YEAR, calendar.get(Calendar.DAY_OF_YEAR)+100);
------解决方案--------------------
2楼说的对呀
------解决方案--------------------
Calendar now=new GregorianCalendar(); now.add(Calendar.DATE,100);