Compartir a través de


DatePicker.calendar property

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

See also

DatePicker