freqMap.put(dm.toDate(), ++i);
}
}
Set<Date> keys = freqMap.keySet();
for (Date date : keys) {
VisitFrequency v = new VisitFrequency();
v.setVisitDate(date);
int i = freqMap.get(date);
v.setNumberOfVisits(i);
LOG.debug("VisitDate: " + date + ", Freq: " + i);
visitFrequencyList.add(v);
}
LOG.debug("Found " + visitFrequencyList.size() + " visits!");
return visitFrequencyList;