DateTime enrollmentBegin =
convertTimes(this.getEnrollmentBeginDayDateYearMonthDay(), this.getEnrollmentBeginTimeDateHourMinuteSecond());
DateTime enrollmentEnd =
convertTimes(this.getEnrollmentEndDayDateYearMonthDay(), this.getEnrollmentEndTimeDateHourMinuteSecond());
result.add(new EvaluationEventBean("Inicio das inscrições para " + description, enrollmentBegin, enrollmentBegin
.plusHours(1), false, null, url + "/login", null, executionCourses));
result.add(new EvaluationEventBean("Fim das inscrições para " + description, enrollmentEnd.minusHours(1),
enrollmentEnd, false, null, url + "/login", null, executionCourses));
}
Set<Space> rooms = new HashSet<>();
if (registration.getRoomFor(this) != null) {
rooms.add(registration.getRoomFor(this));
} else {
for (WrittenEvaluationSpaceOccupation weSpaceOcupation : this.getWrittenEvaluationSpaceOccupationsSet()) {
rooms.add(weSpaceOcupation.getRoom());
}
}
result.add(new EvaluationEventBean(description, this.getBeginningDateTime(), this.getEndDateTime(), false, rooms, url
+ executionCourses.iterator().next().getSiteUrl(), null, executionCourses));
return result;
}