System::Globalization::UmAlQuraCalendar 类

UmAlQuraCalendar class

Um Al Qura 日历。未实现。此类的对象只能使用 System::MakeObject() 函数分配。切勿在栈上或使用 operator new 创建此类型的实例,因为这会导致运行时错误和/或断言故障。始终将此类包装到 System::SmartPtr 指针中,并使用该指针将其作为参数传递给函数。

class UmAlQuraCalendar : public System::Globalization::Calendar

方法

方法描述
Clone() overrideRTTI 信息。
get_AlgorithmType() const override获取算法类型。
get_Eras() const override获取日历中存在的时代列表。
get_MaxSupportedDateTime() const override日历支持的最大时间点。
get_MinSupportedDateTime() const override日历支持的最小时间点。
GetDayOfWeek(DateTime) const override获取指定时间点的星期几。
GetLeapMonth(int, int) const override获取指定年份的闰月。
virtual GetLeapMonth(int) constRTTI 信息。
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检查该年是否为闰年。
set_TwoDigitYearMax(int) override设置可以用两位数字表示的最后一年。
UmAlQuraCalendar()构造函数。

字段

字段描述
static constexpr UmAlQuraEra当前 UmAlQura 纪元。

另见