if (summary.getSummaryHourHourMinuteSecond().isEqual(getBeginHourMinuteSecond())) {
int summaryDayOfWeek = summary.getSummaryDateYearMonthDay().toDateTimeAtMidnight().getDayOfWeek(); if (summary.getSummaryHourHourMinuteSecond().isEqual(getBeginHourMinuteSecond()) && summaryDayOfWeek == lessonWeekDay) {
    public List<Summary> getSummaries() {        List<Summary> lessonSummaries = new ArrayList<Summary>();        Set<Summary> shiftSummaries = new TreeSet<Summary>(new ReverseComparator(Summary.COMPARATOR_BY_DATE_AND_HOUR));        shiftSummaries.addAll(getShift().getAssociatedSummariesSet());        for (Summary summary : shiftSummaries) {            if (summary.getSummaryHourHourMinuteSecond().isEqual(getBeginHourMinuteSecond())) {                lessonSummaries.add(summary);            }        }        return lessonSummaries;    }