System::Globalization::ThaiBuddhistCalendar class

ThaiBuddhistCalendar class

Thai Buddhist calendar. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class ThaiBuddhistCalendar : public System::Globalization::Calendar

Methods

MethodDescription
Clone() overrideRTTI information.
get_AlgorithmType() const overrideGets algorithm type.
get_Eras() const overrideGets list of eras existing in calendar.
get_MaxSupportedDateTime() const overrideMaximal point in time that is supported by the calendar.
get_MinSupportedDateTime() const overrideMinimal point in time that is supported by the calendar.
GetDayOfMonth(DateTime) const overrideGets day of month for the specified time point.
GetDayOfWeek(DateTime) const overrideGets day of week for the specified time point.
GetDayOfYear(DateTime) const overrideGets day of year for the specified time point.
GetDaysInMonth(int, int, int) const overrideGets number of days in specific month.
virtual GetDaysInMonth(int, int) constGets number of days in specific month.
GetDaysInYear(int, int) const overrideGets number of days in specific year.
virtual GetDaysInYear(int) constGets number of days in specific year.
GetEra(DateTime) const overrideGets era for the specified time point.
GetLeapMonth(int, int) const overrideGets the leap month for the specified year.
virtual GetLeapMonth(int) constGets the leap month for the specified year.
GetMonth(DateTime) const overrideGets month for the specified time point.
GetMonthsInYear(int, int) const overrideGets number of months in the specified year.
virtual GetMonthsInYear(int) constRTTI information.
GetYear(DateTime) const overrideGets year for the specified time point.
IsLeapDay(int, int, int, int) const overrideChecks if the day is leap.
virtual IsLeapDay(int, int, int) constChecks if the day is leap.
IsLeapMonth(int, int, int) const overrideChecks if the month is leap.
virtual IsLeapMonth(int, int) constChecks if the month is leap.
IsLeapYear(int, int) const overrideChecks if the year is leap.
virtual IsLeapYear(int) constChecks if the year is leap.
ThaiBuddhistCalendar()Constructor.
ToDateTime(int, int, int, int, int, int, int, int) const overrideConstructs DateTime object from components.
virtual ToDateTime(int, int, int, int, int, int, int) constConstructs DateTime object from components.

Fields

FieldDescription
static constexpr ThaiBuddhistEraCurrent Thai Buddhist era.

See Also