private YearMonthDay getLessonEndDay() {
public YearMonthDay getLessonEndDay() {
    private YearMonthDay getLessonEndDay() {	YearMonthDay periodEnd = getRoomOccupation().getPeriod().getEndYearMonthDay();	int lessonEndDayOfWeek = periodEnd.toDateTimeAtMidnight().getDayOfWeek();	return periodEnd.minusDays(lessonEndDayOfWeek - getLessonWeekDayToYearMonthDayFormat());    }