DatePicker.calendar property

Applies to Windows only

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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

None supported

Namespace

WinJS.UI

Library

Ui.js

See also

DatePicker

 

 

Show:
© 2014 Microsoft. All rights reserved.