/** * Provides event end hour * * @return event end hour */ @Bindable public String getEndHour() { if (event.hasEndDate()) { return MyDateUtils.getHourMinuteDateToUser(event.getEndDate()); } else { return ""; } }
/** * Provides event end date * * @return event end date */ @Bindable public String getEndDate() { if (event.hasEndDate()) { return MyDateUtils.getDayMonthDateToUser(event.getEndDate()); } else { return ""; } }