标签:
private String getDataCollectionName() { Calendar calendar = Calendar.getInstance(); try { calendar.set(Calendar.DATE, -day); return "alarm_" + ToolUtils.dateToFormatStrDate(calendar.getTime(), "yyyy_MM"); } catch (Exception e) { logger.error("{}: data transformating failed,{}", this.getClass().getName(), e.getMessage()); } return null; }
标签:
原文地址:http://blog.csdn.net/tuzongxun/article/details/51394251