OccupationPeriod occupationPeriod = getLessonsPeriod(executionPeriod);
OccupationPeriod occupationPeriod = executionPeriod.getLessonsPeriod();
    public TeacherServiceExemption getDominantServiceExemption(ExecutionPeriod executionPeriod) {                OccupationPeriod occupationPeriod = getLessonsPeriod(executionPeriod);        List<TeacherServiceExemption> serviceExemptions = getServiceExemptionsWithoutMedicalSituations(                occupationPeriod.getStartYearMonthDay(), occupationPeriod.getEndYearMonthDay());               return chooseOneServiceExemption(serviceExemptions, occupationPeriod);    }