System::Globalization::ThaiBuddhistCalendar::GetLeapMonth 方法

ThaiBuddhistCalendar::GetLeapMonth(int) const method

获取指定年份的闰月。

virtual int System::Globalization::Calendar::GetLeapMonth(int year) const
参数类型描述
年份int获取闰月的年份。

ReturnValue

指定年份的闰月,如果该年没有闰月则返回 0。

另见

ThaiBuddhistCalendar::GetLeapMonth(int, int) const method

获取指定年份的闰月。

int System::Globalization::ThaiBuddhistCalendar::GetLeapMonth(int year, int era) const override
参数类型描述
年份int获取闰月的年份。
纪元int纪元。

ReturnValue

指定纪元中指定年份的闰月,如果该年没有闰月则返回 0。

另见