1、String year = String.valueOf(cal.get(Calendar.YEAR));//当前年
2、int month = cal.get(Calendar.MONTH )+1;
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/17397.html
1、String year = String.valueOf(cal.get(Calendar.YEAR));//当前年
2、int month = cal.get(Calendar.MONTH )+1;
原创文章,作者:Maggie-Hunter,如若转载,请注明出处:https://blog.ytso.com/17397.html