GetDaysInYear()

GregorianCalendar::GetDaysInYear(int, int) const method

Gets number of days in specific year.

int System::Globalization::GregorianCalendar::GetDaysInYear(int year, int era) const override

Arguments

ParameterTypeDescription
yearintYear to get number of days in.
eraintEra.

Return Value

Number of days in specified year of specified era.

GregorianCalendar::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.

GregorianCalendar::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