long start = date.getTime();
long end = System.currentTimeMillis();
HistoryStateReportMerger merger = new HistoryStateReportMerger(new StateReport("cat"));
for (; start < end; start = start + TimeHelper.ONE_DAY) {
StateReport stateReport = service.queryStateReport("cat", new Date(start), new Date(start + TimeHelper.ONE_DAY));
stateReport.accept(merger);
}
StateReport report = merger.getStateReport();
new ClearDetailInfo().visitStateReport(report);