GetMonthsInYear()

GregorianCalendar::GetMonthsInYear(int, int) const method

Gets number of months in the specified year.

int System::Globalization::GregorianCalendar::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.

GregorianCalendar::GetMonthsInYear(int) const method

RTTI information.

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

GregorianCalendar::GetMonthsInYear(int, int) const method

RTTI information.

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

See Also