GetDaysInMonth()

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

Gets number of days in specific month.

int System::Globalization::JulianCalendar::GetDaysInMonth(int year, int month, int era) const override

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth to get number of days in.
eraintEra.

Return Value

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

JulianCalendar::GetDaysInMonth(int, int) const method

Gets number of days in specific month.

virtual int System::Globalization::Calendar::GetDaysInMonth(int year, int month) const

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth to get number of days in.

Return Value

Number of days in specified month of specified year.

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

Gets number of days in specific month.

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

Arguments

ParameterTypeDescription
yearintYear.
monthintMonth to get number of days in.
eraintEra.

Return Value

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

See Also