/** * 获取当前月,从上个月开始的最近12个月 * @return */ public static String[] getLast12Months(){ String[] last12Months = new String[12]; Calendar cal = Calendar.getInstance(); for (int i = 0; i < 12; i++) {
专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]
Copyright (C)ICode9.com, All Rights Reserved.
ICode9版权所有