Edit

Word.CalendarType enum

Calendar types.

Remarks

API set: WordApiDesktop 1.3

Used by

Examples

// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/word/10-content-controls/insert-and-change-date-picker-content-control.yaml

function changeCalendarType(datePicker: Word.DatePickerContentControl) {
    // The calendar type can only be set to a value compatible with the display locale. 
    // For the Japanese locale, valid calendar types are Gregorian and Japan.
    datePicker.dateCalendarType = Word.CalendarType.japan;
}

Fields

arabic = "Arabic"

Arabic calendar type.

hebrew = "Hebrew"

Hebrew calendar type.

japan = "Japan"

Japanese calendar type.

korean = "Korean"

Korean calendar type.

sakaEra = "SakaEra"

Saka Era calendar type.

taiwan = "Taiwan"

Taiwan calendar type.

thai = "Thai"

Thai calendar type.

translitEnglish = "TranslitEnglish"

Transliterated English calendar type.

translitFrench = "TranslitFrench"

Transliterated French calendar type.

umalqura = "Umalqura"

Umm al-Qura calendar type.

western = "Western"

Western calendar type.