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