GetLeapMonth()

ThaiBuddhistCalendar::GetLeapMonth(int, int) const method

Gets the leap month for the specified year.

int System::Globalization::ThaiBuddhistCalendar::GetLeapMonth(int year, int era) const override

Arguments

ParameterTypeDescription
yearintYear to get leap month in.
eraintEra.

Return Value

Leap month of the speicified year of the specified era or zero if the year has no leap month.

ThaiBuddhistCalendar::GetLeapMonth(int) const method

Gets the leap month for the specified year.

virtual int System::Globalization::Calendar::GetLeapMonth(int year) const

Arguments

ParameterTypeDescription
yearintYear to get leap month in.

Return Value

Leap month of the speicified year or zero if the year has no leap month.

ThaiBuddhistCalendar::GetLeapMonth(int, int) const method

Gets the leap month for the specified year.

virtual int System::Globalization::Calendar::GetLeapMonth(int year, int era) const=0

Arguments

ParameterTypeDescription
yearintYear to get leap month in.
eraintEra.

Return Value

Leap month of the speicified year of the specified era or zero if the year has no leap month.

See Also