GetDaysInYear()

Calendar::GetDaysInYear(int) const method

Gets number of days in specific year.

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

Arguments

ParameterTypeDescription
yearintYear to get number of days in.

Return Value

Number of days in specified year.

Calendar::GetDaysInYear(int, int) const method

Gets number of days in specific year.

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

Arguments

ParameterTypeDescription
yearintYear to get number of days in.
eraintEra.

Return Value

Number of days in specified year of specified era.

See Also