System::Globalization::JapaneseLunisolarCalendar 类
JapaneseLunisolarCalendar class
日本阴阳历。未实现。此类的对象只能使用 System::MakeObject() 函数分配。切勿在栈上或使用 operator new 创建此类型的实例,因为这会导致运行时错误和/或断言故障。始终将此类包装在 System::SmartPtr 指针中,并使用该指针将其作为参数传递给函数。
class JapaneseLunisolarCalendar : public System::Globalization::EastAsianLunisolarCalendar
方法
| 方法 | 描述 |
|---|---|
| Clone() override | RTTI 信息。 |
| get_Eras() const override | 获取日历中存在的时代列表。 |
| get_MaxSupportedDateTime() const override | 日历支持的最大时间点。 |
| get_MinSupportedDateTime() const override | 日历支持的最小时间点。 |
| GetEra(DateTime) const override | 获取指定时间点的时代。 |
| GetLeapMonth(int, int) const override | 获取指定年份的闰月。 |
| virtual GetLeapMonth(int) const | RTTI 信息。 |
| GetYear(DateTime) const override | 获取指定时间点的年份。 |
| IsLeapDay(int, int, int, int) const override | 检查该天是否为闰日。 |
| virtual IsLeapDay(int, int, int) const | 检查该天是否为闰日。 |
| IsLeapYear(int, int) const override | 检查该年是否为闰年。 |
| virtual IsLeapYear(int) const | 检查该年是否为闰年。 |
| JapaneseLunisolarCalendar() | 构造函数。 |
字段
| 字段 | 描述 |
|---|---|
| static constexpr JapaneseEra | 当前日本纪元。 |
另见
- Class EastAsianLunisolarCalendar
- Namespace System::Globalization
- Library Aspose.Font for C++