CalendarIdentifiers.ChineseLunar 屬性

定義

取得中文 lunisolar 行事曆的識別碼。

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

屬性值

String

Platform::String

winrt::hstring

字串 「ChineseLunarCalendar」,這是中國月曆的識別碼。

Windows 需求

裝置系列
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v3.0 引進)

備註

此行事曆支援性別年週期 (,除了太陽能年和月曆之外,每隔 60 年重複一次) 。 行事曆中的每個太陽能年度都與一個性別年、一個天體字幹和一個斯拉巴分支相關聯,而且這些行事曆可以在該年的任何月份之後有閏月。 行事曆會根據太陽能計算計算和月和日計算來計算年數。

閏月可以在一年中的任何月份之後發生。 例如,當您從此行事曆取得月份時,會取得介於 1 到 13 之間的數位,指出與指定日期相關聯的月份。 如果一年的第八個月和第九個月之間有閏月,則取得月份傳回 8 代表第八個月,9 代表閏八個月,而第九個月則傳回 10。

目前,任何支援的文化特性都不會使用此行事曆。 因此,這個值只能用來計算中文 lunisolar 行事曆中的日期。

適用於

另請參閱