Word.CalendarType enum
Calendar Typen.
Hinweise
Verwendet von
Beispiele
// 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;
}
Felder
| arabic = "Arabic" | Arabischer Kalendertyp. |
| hebrew = "Hebrew" | Hebräischer Kalendertyp. |
| japan = "Japan" | Japanischer Kalendertyp. |
| korean = "Korean" | Koreanischer Kalendertyp. |
| sakaEra = "SakaEra" | Kalendertyp "Saka Era". |
| taiwan = "Taiwan" | Taiwan-Kalendertyp. |
| thai = "Thai" | Thailändischer Kalendertyp. |
| translitEnglish = "TranslitEnglish" | Transliterierter englischer Kalendertyp. |
| translitFrench = "TranslitFrench" | Transliterierter französischer Kalendertyp. |
| umalqura = "Umalqura" | Umm al-Qura Kalendertyp. |
| western = "Western" | Westlicher Kalendertyp. |