List<Schedule> scheduleList = new ArrayList();
List<Schedule> scheduleList = new ArrayList<Schedule>();
    public List<Schedule> getSchedulesWithInterval(DateInterval interval) {		List<Schedule> scheduleList = new ArrayList();		Iterator<Schedule> schedulesIt = getSchedulesIterator();		while (schedulesIt.hasNext()) {			Schedule schedule = schedulesIt.next();			if (schedule.isDefinedInInterval(interval)) {				scheduleList.add(schedule);			}		}		return scheduleList;    }