DateFormatUtil.format("dd/MM/yyyy", occupationPeriod.getStart()), DateFormatUtil.format("dd/MM/yyyy", occupationPeriod.getEnd()));
occupationPeriod.getStartYearMonthDay().toString("dd/MM/yyyy"), occupationPeriod.getEndYearMonthDay().toString("dd/MM/yyyy"));
    protected void checkIfEvaluationDateIsInExamsPeriod(DegreeCurricularPlan degreeCurricularPlan,            ExecutionPeriod executionPeriod, Date evaluationDate, MarkSheetType markSheetType,            HttpServletRequest request, ActionMessages actionMessages) {                ExecutionDegree executionDegree = degreeCurricularPlan.getExecutionDegreeByYear(executionPeriod.getExecutionYear());                if (executionDegree == null) {            addMessage(request, actionMessages, "error.evaluationDateNotInExamsPeriod");                    } else if (! executionDegree.isEvaluationDateInExamPeriod(evaluationDate, executionPeriod, markSheetType)) {                        OccupationPeriod occupationPeriod = executionDegree.getOccupationPeriodFor(executionPeriod, markSheetType);            if (occupationPeriod == null) {                addMessage(request, actionMessages, "error.evaluationDateNotInExamsPeriod");            } else {                addMessage(request, actionMessages, "error.evaluationDateNotInExamsPeriodWithDates",                        DateFormatUtil.format("dd/MM/yyyy", occupationPeriod.getStart()),                        DateFormatUtil.format("dd/MM/yyyy", occupationPeriod.getEnd()));            }        }    }