CalendarIdentifiers.Korean 屬性

定義

取得韓曆的識別碼。

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

屬性值

String

Platform::String

winrt::hstring

字串 「KoreanCalendar」,這是韓曆的識別碼。

備註

韓曆與 西曆 完全相同,不同之處在于年份和紀元不同。

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

韓曆中的閏年對應至西曆中的相同閏年。 西曆中的閏年會定義為西曆的西曆年,該年會平均除以四個,除非 100 會將其除開。 不過,由 400 除的西曆年是閏年。 一般年份有 365 天,而閏年有 366 天。

韓曆有 12 個月,每個月 28 到 31 天:

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

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

因為韓曆對應至西曆,所以一周名稱及月份名稱日韓曆字串會針對所有支援的地區設定當地語系化,因此會以對應至行事曆物件的 ResolvedLanguage 屬性的語言顯示。

適用於

另請參閱