6061626364656667686970
public static DateUtil getEndDate(Quiz quiz) { Timestamp t = quiz.getAssessment().getExtension().getEndDate().getTimeStamp(); try { DateUtil d = new DateUtil(t); return d; } catch(NullPointerException e) { return null;