System::Globalization::GregorianCalendar::IsLeapMonth method

GregorianCalendar::IsLeapMonth(int, int) const method

Checks if the month is leap.

virtual bool System::Globalization::Calendar::IsLeapMonth(int year, int month) const
ParameterTypeDescription
yearintYear.
monthintMonth.

ReturnValue

True if specified month is leap, false otherwise.

See Also

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

Checks if the month is leap.

bool System::Globalization::GregorianCalendar::IsLeapMonth(int year, int month, int era) const override
ParameterTypeDescription
yearintYear.
monthintMonth.
eraintEra.

ReturnValue

True if specified month is leap, false otherwise.

See Also