}
@SuppressWarnings("serial")
private void addCalendarEventListeners() {
// Register week clicks by changing the schedules start and end dates.
calendarComponent.setHandler(new BasicWeekClickHandler() {
@Override
public void weekClick(WeekClick event) {
// let BasicWeekClickHandler handle calendar dates, and update
// only the other parts of UI here