A complete calendar component to represent a calendar to support both molds, default and month, and multi-timezone. By default mold, it can change the days to show one day or a week (days equal to seven) on the calendar at the same time. In the month mold, seven days is always assumed.
The Calendars component allows only one single toolbar as its child component, and now it can only manipulate the calendar event by a model named {@link CalendarModel}. And there are three events, onEventCreate
, onEventEdit
, and onEventUpdate
that can be listened to operate the calendar event triggering by user action, in addition to there are two events onDayClick
and onWeekClick
to be triggered when user clicks on the caption of the day number and the week number within the current year. Besides, the calendar can also support the read-only display by invoking {@link #setReadonly(boolean)}.
@author jumperchen,jimmy