时间格式转换问题
simpleDateFormat:
DateFormat format1 = new SimpleDateFormat(CheckReportDayConstant.DAY_WITHOUT_DASH);
Date date = format1.parse(time);
SimpleDateFormat f2 = new SimpleDateFormat(CheckReportDayConstant.DAY_CHINA);
DateTime:
DateTime dateTime = DateTime.parse(time, DateTimeFormat.forPattern("yyyyMMdd"));
return dateTime.toString("yyyy年MM月dd日");

更多精彩