System::Globalization::GregorianCalendar::GetDaysInMonth method

GregorianCalendar::GetDaysInMonth(int, int, int) const method

Gets number of days in specific month.

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

ReturnValue

Number of days in specified month of specified year of specified era.

See Also

GregorianCalendar::GetDaysInMonth(int, int) const method

Gets number of days in specific month.

virtual int System::Globalization::Calendar::GetDaysInMonth(int year, int month) const
ParameterTypeDescription
yearintYear.
monthintMonth to get number of days in.

ReturnValue

Number of days in specified month of specified year.

See Also