public void prevDayEventActionListener(ActionEvent event) {
date = new Date(date.getTime() - MS_IN_ONE_DAY);
}
public void doLater() {
TimetableEvent modifiedEvent = getEvent();
if (modifiedEvent != null) {
AbstractTimetableEvent event = eventById(events, modifiedEvent.getId());
if (event != null) {
Date startDate = modifyDate(event.getStart(), Calendar.HOUR_OF_DAY, 1);
Date endDate = modifyDate(event.getEnd(), Calendar.HOUR_OF_DAY, 1);
if (isTimeAvailable(startDate, endDate)) {
event.setStart(startDate);