Calendar cal = Calendar.getInstance();
cal.setTime(new Date());
cal.add(Calendar.DATE, -1 * sinceDays);
Date startDate = cal.getTime();
try {
Roller roller = RollerFactory.getRoller();
UserManager umgr = roller.getUserManager();
List weblogs = umgr.getWebsites(
null, Boolean.TRUE, Boolean.TRUE, startDate, null, 0, length);
for (Iterator it = weblogs.iterator(); it.hasNext();) {
WebsiteData website = (WebsiteData) it.next();
results.add(WebsiteDataWrapper.wrap(website));