The following enums are available in the Calendar component:
| Name | Value | Description |
|---|
| CalendarView | 'Decade' | 'Month' | 'Year' | Specifies the view options for the calendar. Decade - Displays the calendar with a year-by-year view of a single decade.Month - Displays the calendar with a day-by-day view of a single month.Year - Displays the calendar with a month-by-month view of a single year.
|
| WeekDaysFormats | 'Abbreviated' | 'Narrow' | 'Short' | 'Wide' | Specifies the format of the day names in the week header. Abbreviated - An abbreviated format (for example, 'Sun').Narrow - A narrow format, typically a single letter (for example, 'S').Short - A short format, typically 2–3 letters (for example, 'Su').Wide - The full-length day name (for example, 'Sunday').
|
| WeekRule | 'FirstDay' | 'FirstFourDayWeek' | 'FirstFullWeek' | Specifies the rules used to determine which week is considered
the first week of a calendar year. FirstDay - The first week begins on January first, regardless of
which day of the week it falls on.FirstFourDayWeek - The first week must contain at least four days of the new year,
following the ISO standard definition.FirstFullWeek - The first week begins on the first occurrence of the
designated weekday on or after January first.
|