} else {
    public List calculateIntervalBalance(DateInterval interval) {        System.out.println("Calculate interval balance");        List<DailyBalance> dailyBalanceList = new ArrayList<DailyBalance>();        List<Schedule> scheduleList = getSchedulesWithInterval(interval); // todos os Schedules dentro        // do intervalo validInterval        // para cada dia do intervalo ver q horario esta definido nesse dia        for (YearMonthDay date = interval.getStartDate(); isDateInInterval(date, interval); date = date                .plusDays(1)) {            // percorrer os schedules (tipicamente ha' 1 mas pode haver varios...)            // System.out.println("percorrer os dias do intervalo");            for (Schedule schedule : scheduleList) { // para cada schedule...                WorkSchedule workSchedule = schedule.workScheduleWithDate(date); // ...ve que Work                // Schedule esta'                // definido nesse dia                DailyBalance dailyBalance = new DailyBalance(date, workSchedule);                if (workSchedule != null) { // ha horario neste dia                    System.out.println("horario:" + workSchedule.getWorkScheduleType().getAcronym());                    dailyBalance.setWorkSchedule(workSchedule);//                    List<Clocking> clockingList = validClockingsWithDate(date);//                    List<Leave> leaveList = leavesWithDate(date);//                    List<MissingClocking> missingClockingList = missingClockingsWithDate(date);//                    if (clockingList.size() > 0) {//                        dailyBalance.setClockingList(clockingList);//                    }//                    if (leaveList.size() > 0) {//                        dailyBalance.setLeaveList(leaveList);//                    }//                    if (missingClockingList.size() > 0) {//                        dailyBalance.setMissingClockingList(missingClockingList); // see if this is//                        // really necessary//                        // addMissingClockingsToClockingList(clockingList, missingClockingList);//                    }                    dailyBalance = calculateDailyBalance(date);                    dailyBalanceList.add(dailyBalance);                } else { // nao ha horario neste dia => sabado ou domingo                    // neste caso devia ter info de DSC e DS?                    // TODO ver esta situacao                }            }        }        return dailyBalanceList;    }