strBuffer.append(bundle.getString("labe.comma"));
strBuffer.append(getMessageResource(pageContext, "public.degree.information.label.comma"));
    public StringBuffer renderDayLabel(ExamsMapSlot examsMapSlot, ExamsMap examsMap, String typeUser,Locale locale) {        this.examsMap = examsMap;        StringBuffer strBuffer = new StringBuffer();        ResourceBundle bundle = ResourceBundle            .getBundle("ServidorApresentacao.PublicDegreeInformation",locale);        boolean isFirstDayOfSeason = ((examsMapSlot.getDay().get(Calendar.DAY_OF_MONTH) == examsMap                .getFirstDayOfSeason().get(Calendar.DAY_OF_MONTH))                && (examsMapSlot.getDay().get(Calendar.MONTH) == examsMap.getFirstDayOfSeason().get(                        Calendar.MONTH)) && (examsMapSlot.getDay().get(Calendar.YEAR) == examsMap                .getFirstDayOfSeason().get(Calendar.YEAR)));        boolean isSecondDayOfMonthAndFirstDayWasASunday = (examsMapSlot.getDay().get(                Calendar.DAY_OF_MONTH) == 2 && examsMapSlot.getDay().get(Calendar.DAY_OF_WEEK) == 2);        if (examsMap.getInfoExecutionDegree() != null && typeUser.equals("sop")) {            strBuffer.append("<a href='showExamsManagement.do?method=createByDay" + "&amp;"                    + SessionConstants.EXECUTION_DEGREE_OID + "="                    + examsMap.getInfoExecutionDegree().getIdInternal() + "&amp;"                    + SessionConstants.EXECUTION_PERIOD_OID + "="                    + examsMap.getInfoExecutionPeriod().getIdInternal() + "&amp;"                    + SessionConstants.CURRICULAR_YEAR_OID + "=" + examsMap.getCurricularYears().get(0)                    + "&amp;" + SessionConstants.DAY + "="                    + examsMapSlot.getDay().get(Calendar.DAY_OF_MONTH) + "&amp;"                    + SessionConstants.MONTH + "=" + (examsMapSlot.getDay().get(Calendar.MONTH) + 1)                    + "&amp;" + SessionConstants.YEAR + "=" + examsMapSlot.getDay().get(Calendar.YEAR)                    + "'>");        }        strBuffer.append(examsMapSlot.getDay().get(Calendar.DAY_OF_MONTH));        if ((examsMapSlot.getDay().get(Calendar.DAY_OF_MONTH) == 1) || isFirstDayOfSeason                || isSecondDayOfMonthAndFirstDayWasASunday) {                strBuffer.append(" ");                strBuffer.append(bundle.getString("label.of"));                strBuffer.append(" ");            strBuffer.append(monthToString(examsMapSlot.getDay().get(Calendar.MONTH),locale));        }        if (examsMapSlot.getDay().get(Calendar.DAY_OF_YEAR) == 1) {            strBuffer.append(bundle.getString("labe.comma"));            strBuffer.append(examsMapSlot.getDay().get(Calendar.YEAR));        }        if (examsMap.getInfoExecutionDegree() != null && typeUser.equals("sop")) {            strBuffer.append("</a>");        }        strBuffer.append("<br />");        return strBuffer;    }