Share via


CalendarIdentifiers.Thai 屬性

定義

取得泰曆的識別碼。

public:
 static property Platform::String ^ Thai { Platform::String ^ get(); };
static winrt::hstring Thai();
public static string Thai { get; }
var string = CalendarIdentifiers.thai;
Public Shared ReadOnly Property Thai As String

屬性值

String

Platform::String

winrt::hstring

字串 「ThaiCalendar」,這是泰曆的識別碼。

備註

泰曆的運作方式與 曆完全相同,不同之處在于年份和紀元不同。

泰曆系統只會辨識目前的紀元。

泰曆中的閏年對應至西曆中的相同閏年。 西曆中的閏年會定義為西曆的西曆年,此年會平均除以四,除非以 100 除。 不過,由 400 除的西曆年是閏年。 一般年份有 365 天,而閏年有 366 天。 泰曆有 12 個月,每個月 28 到 31 天:

2 月在閏年期間有 29 天,一般年份有 28 天。

2012 年 1 月 1 日 A.D 的日期相當於泰曆中目前紀元 2555 年 1 月的第一天。

由於泰曆對應至西曆,因此,星期名和月份名稱的泰文行事曆字串會針對所有支援的地區設定進行當地語系化,因此會以對應至行事曆物件的 ResolvedLanguage 屬性的語言顯示。

適用於

另請參閱