System::Globalization::JapaneseCalendar::GetLeapMonth 方法
JapaneseCalendar::GetLeapMonth(int) const method
获取指定年份的闰月。
virtual int System::Globalization::Calendar::GetLeapMonth(int year) const
| 参数 | 类型 | 描述 |
|---|---|---|
| 年份 | int | 获取闰月的年份。 |
ReturnValue
指定年份的闰月,如果该年没有闰月则返回 0。
另见
- Class JapaneseCalendar
- Namespace System::Globalization
- Library Aspose.Font for C++
JapaneseCalendar::GetLeapMonth(int, int) const method
获取指定年份的闰月。
int System::Globalization::JapaneseCalendar::GetLeapMonth(int year, int era) const override
| 参数 | 类型 | 描述 |
|---|---|---|
| 年份 | int | 获取闰月的年份。 |
| 纪元 | int | 纪元。 |
ReturnValue
指定纪元中指定年份的闰月,如果该年没有闰月则返回 0。
另见
- Class JapaneseCalendar
- Namespace System::Globalization
- Library Aspose.Font for C++