futurefuturehx
1/14/2019 - 3:34 AM

获取当前年月

获取当前年月

        		   Calendar now = Calendar.getInstance();
        		   int year = now.get(Calendar.YEAR);
        		   int month = now.get((Calendar.MONTH) + 1);