System::Globalization::GregorianCalendar::GetDaysInYear method

GregorianCalendar::GetDaysInYear(int) const method

Gets number of days in specific year.

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

ReturnValue

Number of days in specified year.

See Also

GregorianCalendar::GetDaysInYear(int, int) const method

Gets number of days in specific year.

int System::Globalization::GregorianCalendar::GetDaysInYear(int year, int era) const override
ParameterTypeDescription
yearintYear to get number of days in.
eraintEra.

ReturnValue

Number of days in specified year of specified era.

See Also