System::Globalization::PersianCalendar::GetLeapMonth method

PersianCalendar::GetLeapMonth(int) const method

Gets the leap month for the specified year.

virtual int System::Globalization::Calendar::GetLeapMonth(int year) const
ParameterTypeDescription
yearintYear to get leap month in.

ReturnValue

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

See Also

PersianCalendar::GetLeapMonth(int, int) const method

Gets the leap month for the specified year.

int System::Globalization::PersianCalendar::GetLeapMonth(int year, int era) const override
ParameterTypeDescription
yearintYear to get leap month in.
eraintEra.

ReturnValue

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

See Also