Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the calendar to use.
Syntax
<div data-win-control="WinJS.UI.DatePicker" data-win-options="{ calendar : value}" />
var calendar = datePicker.calendar;
datePicker.calendar = calendar;
Property value
Type: Object
The calendar.
Remarks
You can use the following values:
"GregorianCalendar"
"HijriCalendar"
"HebrewCalendar"
"JapaneseCalendar"
"KoreanCalendar"
"ThaiCalendar"
"TaiwanCalendar"
"UmAlQuraCalendar"
"JulianCalendar"
Examples
datePicker.calendar = "KoreanCalendar";
Requirements
Minimum WinJS version |
WinJS 1.0 |
Namespace |
WinJS.UI |