}
}
}
if (filter.isShowPlanning() == true) {
final HRPlanningFilter hrFilter = new HRPlanningFilter();
final DateHolder date = new DateHolder(filter.getStartTime());
hrFilter.setStartTime(date.getSQLDate()); // Considers the user's time zone.
date.setDate(filter.getStopTime());
hrFilter.setStopTime(date.getSQLDate()); // Considers the user's time zone.
final List<HRPlanningDO> plannings = hrPlanningDao.getList(hrFilter);
for (final HRPlanningDO planning : plannings) {
if (planning.getEntries() == null) {
continue;
}