System::Globalization::PersianCalendar::GetMonthsInYear method

PersianCalendar::GetMonthsInYear(int, int) const method

Gets number of months in the specified year.

int System::Globalization::PersianCalendar::GetMonthsInYear(int year, int era) const override
ParameterTypeDescription
yearintYear to get number of months in.
eraintEra.

ReturnValue

Number of months in the specified year of specified era.

See Also

PersianCalendar::GetMonthsInYear(int) const method

Gets number of months in the specified year.

virtual int System::Globalization::Calendar::GetMonthsInYear(int year) const
ParameterTypeDescription
yearintYear to get number of months in.

ReturnValue

Number of months in the specified year.

See Also