Campus lessonCampus = getLessonCampus();  while (true) { if (!Holiday.isHoliday(startDateToSearch, lessonCampus)) { dates.add(startDateToSearch); } startDateToSearch = startDateToSearch.plusDays(7); if (startDateToSearch.isAfter(endDateToSearch)) { break; } }  return dates;
return getLessonDates(startDateToSearch, endDateToSearch);
    public List<YearMonthDay> getAllLessonDates() {	List<YearMonthDay> dates = new ArrayList<YearMonthDay>();	YearMonthDay startDateToSearch = getLessonStartDay();	YearMonthDay endDateToSearch = getLessonEndDay();	Campus lessonCampus = getLessonCampus();	while (true) {	    if (!Holiday.isHoliday(startDateToSearch, lessonCampus)) {		dates.add(startDateToSearch);	    }	    startDateToSearch = startDateToSearch.plusDays(7);	    if (startDateToSearch.isAfter(endDateToSearch)) {		break;	    }	}	return dates;    }