예제 #1
0
 public StatIndexManager(String path) {
   Date date = DataFormat.getNextDate(new Date(), -1); // 默认为昨天
   String strDate = DataFormat.formatDate(date, DataFormat.FMT_DATE_YYYY_MM_DD);
   table = tableName + "_" + strDate;
   indexPath = path;
 }
예제 #2
0
 public StatIndexManager(Date d, String path) {
   String strDate = DataFormat.formatDate(d, DataFormat.FMT_DATE_YYYY_MM_DD);
   table = tableName + "_" + strDate;
   indexPath = path;
 }
예제 #3
0
 public StatIndexManager(Date d) {
   String strDate = DataFormat.formatDate(d, DataFormat.FMT_DATE_YYYY_MM_DD);
   table = tableName + "_" + strDate;
   indexPath = ServerManager.getStatIndexPath();
 }