if (hasEventListener(CalendarEventId.RANGESELECT)) {
rpc.rangeSelect(value);
}
}
});
getWidget().setListener(new WeekClickListener() {
@Override
public void weekClick(String event) {
if (!getWidget().isDisabledOrReadOnly()
&& hasEventListener(CalendarEventId.WEEKCLICK)) {
rpc.weekClick(event);