if (executionDegree .getCurricularPlan() .getDegree() .getSigla() .equals("LEEC")) { startSeason1.set(Calendar.DAY_OF_MONTH, 16); endSeason2.set(Calendar.DAY_OF_MONTH, 19); }
if (executionDegree .getCurricularPlan() .getDegree() .getSigla() .equals("LEEC")) { startSeason1.set(Calendar.DAY_OF_MONTH, 5); endSeason2.set(Calendar.DAY_OF_MONTH, 14); } if (executionDegree .getCurricularPlan() .getDegree() .getSigla() .equals("LEC") || executionDegree .getCurricularPlan() .getDegree() .getSigla() .equals("LET") || executionDegree .getCurricularPlan() .getDegree() .getSigla() .equals("LA")) { startSeason1.set(Calendar.DAY_OF_MONTH, 12); endSeason2.set(Calendar.DAY_OF_MONTH, 7); }
	private ISiteComponent getInfoSiteExamMap(		InfoSiteExamMap component,		IExecutionPeriod executionPeriod,		ICursoExecucao executionDegree,		List curricularYears)		throws FenixServiceException {//		List classes = new ArrayList();//		List infoClasses = new ArrayList();//		Object to be returned			 InfoExamsMap infoExamsMap = new InfoExamsMap();			 // Set List of Curricular Years			 infoExamsMap.setCurricularYears(curricularYears);			 // Exam seasons hardcoded because this information			 // is not yet available from the database			 Calendar startSeason1 = Calendar.getInstance();			 startSeason1.set(Calendar.YEAR, 2003);			 startSeason1.set(Calendar.MONTH, Calendar.JUNE);			 startSeason1.set(Calendar.DAY_OF_MONTH, 23);			 startSeason1.set(Calendar.HOUR_OF_DAY, 0);			 startSeason1.set(Calendar.MINUTE, 0);			 startSeason1.set(Calendar.SECOND, 0);			 startSeason1.set(Calendar.MILLISECOND, 0);			 Calendar endSeason2 = Calendar.getInstance();			 endSeason2.set(Calendar.YEAR, 2003);			 endSeason2.set(Calendar.MONTH, Calendar.JULY);			 endSeason2.set(Calendar.DAY_OF_MONTH, 26);			 endSeason2.set(Calendar.HOUR_OF_DAY, 0);			 endSeason2.set(Calendar.MINUTE, 0);			 endSeason2.set(Calendar.SECOND, 0);			 endSeason2.set(Calendar.MILLISECOND, 0);			 if (executionDegree				 .getCurricularPlan()				 .getDegree()				 .getSigla()				 .equals("LEEC")) {				 startSeason1.set(Calendar.DAY_OF_MONTH, 16);				 endSeason2.set(Calendar.DAY_OF_MONTH, 19);			 }			 // Set Exam Season info			 infoExamsMap.setStartSeason1(startSeason1);			 infoExamsMap.setEndSeason1(null);			 infoExamsMap.setStartSeason2(null);			 infoExamsMap.setEndSeason2(endSeason2);						 try {				 ISuportePersistente sp = SuportePersistenteOJB.getInstance();				 // List of execution courses				 List infoExecutionCourses = new ArrayList();				 // Obtain execution courses and associated information				 // of the given execution degree for each curricular year specified				 for (int i = 0; i < curricularYears.size(); i++) {					 // Obtain list os execution courses					 List executionCourses =						 sp							 .getIDisciplinaExecucaoPersistente()							 .readByCurricularYearAndExecutionPeriodAndExecutionDegree(								 (Integer) curricularYears.get(i),								 executionPeriod,								 executionDegree);					 // For each execution course obtain curricular courses and exams					 for (int j = 0; j < executionCourses.size(); j++) {						 InfoExecutionCourse infoExecutionCourse =							 Cloner.copyIExecutionCourse2InfoExecutionCourse(								 (IDisciplinaExecucao) executionCourses.get(j));						 infoExecutionCourse.setCurricularYear(							 (Integer) curricularYears.get(i));						 List associatedInfoCurricularCourses = new ArrayList();						 List associatedCurricularCourses =							 ((IDisciplinaExecucao) executionCourses.get(j))								 .getAssociatedCurricularCourses();						 // Curricular courses						 for (int k = 0;							 k < associatedCurricularCourses.size();							 k++) {							 InfoCurricularCourse infoCurricularCourse =								 Cloner.copyCurricularCourse2InfoCurricularCourse(									 (										 ICurricularCourse) associatedCurricularCourses											 .get(										 k));							 associatedInfoCurricularCourses.add(								 infoCurricularCourse);						 }						 infoExecutionCourse.setAssociatedInfoCurricularCourses(							 associatedInfoCurricularCourses);						 List associatedInfoExams = new ArrayList();						 List associatedExams =							 ((IDisciplinaExecucao) executionCourses.get(j))								 .getAssociatedExams();						 // Exams						 for (int k = 0; k < associatedExams.size(); k++) {							 InfoExam infoExam =								 Cloner.copyIExam2InfoExam(									 (IExam) associatedExams.get(k));							 associatedInfoExams.add(infoExam);						 }						 infoExecutionCourse.setAssociatedInfoExams(							 associatedInfoExams);						 infoExecutionCourses.add(infoExecutionCourse);					 }				 }				 infoExamsMap.setExecutionCourses(infoExecutionCourses);			 } catch (ExcepcaoPersistencia ex) {				 throw new FenixServiceException(ex);			 }			component.setInfoExecutionDegree(Cloner.copyIExecutionDegree2InfoExecutionDegree(executionDegree));				component.setInfoExamsMap(infoExamsMap);		return component;	}