Calendar cal = Calendar.getInstance();假如当前是12月,cal.get(cal.MONTH)是11月。 转载于:https://www.cnblogs.com/zhaogaojian/p/10050884.html