return false;
}
public GenericPair<YearMonthDay, YearMonthDay> getMaxLessonsPeriod() {
YearMonthDay minBeginDate = null, maxEndDate = null;
Integer semester = getExecutionPeriod().getSemester();
for (final CurricularCourse curricularCourse : getAssociatedCurricularCoursesSet()) {
final ExecutionDegree executionDegree = curricularCourse.getExecutionDegreeFor(getExecutionYear());
if (semester.intValue() == 1) {
if (minBeginDate == null
|| minBeginDate.isAfter(executionDegree.getPeriodLessonsFirstSemester().getStartYearMonthDay())) {
minBeginDate = executionDegree.getPeriodLessonsFirstSemester().getStartYearMonthDay();
}
if (maxEndDate == null
|| maxEndDate.isBefore(executionDegree.getPeriodLessonsFirstSemester()
.getEndYearMonthDayWithNextPeriods())) {
maxEndDate = executionDegree.getPeriodLessonsFirstSemester().getEndYearMonthDayWithNextPeriods();
}
} else {
if (minBeginDate == null
|| minBeginDate.isAfter(executionDegree.getPeriodLessonsSecondSemester().getStartYearMonthDay())) {
minBeginDate = executionDegree.getPeriodLessonsSecondSemester().getStartYearMonthDay();
}
if (maxEndDate == null
|| maxEndDate.isBefore(executionDegree.getPeriodLessonsSecondSemester()
.getEndYearMonthDayWithNextPeriods())) {