GetMonthsInYear()

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

Arguments

ParameterTypeDescription
yearintYear to get number of months in.
eraintEra.

Return Value

Number of months in the specified year of specified era.

PersianCalendar::GetMonthsInYear(int) const method

Gets number of months in the specified year.

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

Arguments

ParameterTypeDescription
yearintYear to get number of months in.

Return Value

Number of months in the specified year.

PersianCalendar::GetMonthsInYear(int, int) const method

Gets number of months in the specified year.

virtual int System::Globalization::Calendar::GetMonthsInYear(int year, int era) const

Arguments

ParameterTypeDescription
yearintYear to get number of months in.
eraintEra.

Return Value

Number of months in the specified year of specified era.

See Also