}
DateTimeFieldType[] dateTimeFieldTypes = { DateTimeFieldType.hourOfDay(), DateTimeFieldType.minuteOfHour() };
HourMinuteSecond time = summary.getSummaryHourHourMinuteSecond();
int[] timeArray = { time.getHour(), time.getMinuteOfHour() };
Partial timePartial = new Partial(dateTimeFieldTypes, timeArray);
SummariesManagementBean bean =
new SummariesManagementBean(summary.getTitle(), summary.getSummaryText(), summary.getStudentsNumber(),
summaryType, summary.getProfessorship(), summary.getTeacherName(), summary.getTeacher(),
summary.getShift(), summary.getLesson(), summary.getSummaryDateYearMonthDay(), summary.getRoom(),