}
private static Grade getGrade(Attends attends, MarkSheetTeacherMarkBean markBean, Date evaluationDate, Date nowDate) {
final String value;
final FinalMark finalMark = attends.getFinalMark();
if (finalMark != null) {
finalMark.setSubmitedMark(markBean.getGradeValue());
finalMark.setSubmitDateYearMonthDay(YearMonthDay.fromDateFields(evaluationDate));
finalMark.setWhenSubmitedYearMonthDay(YearMonthDay.fromDateFields(nowDate));
value = markBean.getGradeValue();
} else {
value = GradeScale.NA;
}