摘要: 通用做法——使用Calendar类 Date sdate =now();Calendar cal = Calendar.getInstance();cal.setTime(sDate);cal.add(Calendar.YEAR, 1); //增加一年cal.add(Calendar.MONTH, 阅读全文
posted @ 2023-02-25 10:30 不如俗且趣 阅读(52) 评论(0) 推荐(0)