Word.CalendarType enum
Calendar の種類。
注釈
使用元
例
// 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;
}
フィールド
| arabic = "Arabic" | アラビア暦の種類。 |
| hebrew = "Hebrew" | ヘブライ暦の種類。 |
| japan = "Japan" | 和暦の種類。 |
| korean = "Korean" | 韓国暦の種類。 |
| sakaEra = "SakaEra" | サカ元号の暦の種類。 |
| taiwan = "Taiwan" | 台湾のカレンダーの種類。 |
| thai = "Thai" | タイのカレンダーの種類。 |
| translitEnglish = "TranslitEnglish" | 音訳された英語のカレンダーの種類。 |
| translitFrench = "TranslitFrench" | フランス語の暦の種類を音訳したもの。 |
| umalqura = "Umalqura" | Umm al-Qura カレンダーの種類。 |
| western = "Western" | 西暦の種類。 |