startSeason1.set(Calendar.YEAR, 2003); startSeason1.set(Calendar.MONTH, Calendar.JUNE); startSeason1.set(Calendar.DAY_OF_MONTH, 16);
startSeason1.set(Calendar.YEAR, 2004); startSeason1.set(Calendar.MONTH, Calendar.JANUARY); startSeason1.set(Calendar.DAY_OF_MONTH, 5);
	public List run(InfoExecutionPeriod infoExecutionPeriod) {		// Object to be returned		List infoRoomExamMapList = new ArrayList();		// 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, 16);		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);		try {			ISuportePersistente sp = SuportePersistenteOJB.getInstance();			List rooms = sp.getISalaPersistente().readForRoomReservation();			for (int i = 0; i < rooms.size(); i++) {				ISala room = (ISala) rooms.get(i);				InfoRoomExamsMap infoExamsMap = new InfoRoomExamsMap();				// Set Exam Season info				infoExamsMap.setInfoRoom(Cloner.copyRoom2InfoRoom(room));				infoExamsMap.setStartSeason1(startSeason1);				infoExamsMap.setEndSeason1(null);				infoExamsMap.setStartSeason2(null);				infoExamsMap.setEndSeason2(endSeason2);				// Translate to execute following queries				IExecutionPeriod executionPeriod =					Cloner.copyInfoExecutionPeriod2IExecutionPeriod(						infoExecutionPeriod);				List exams =					sp.getIPersistentExam().readBy(room, executionPeriod);				infoExamsMap.setExams(					(List) CollectionUtils.collect(						exams,						TRANSFORM_EXAM_TO_INFOEXAM));				infoRoomExamMapList.add(infoExamsMap);			}		} catch (ExcepcaoPersistencia ex) {			ex.printStackTrace();		}		return infoRoomExamMapList;	}