System::Globalization::GregorianCalendar::IsLeapYear method

GregorianCalendar::IsLeapYear(int, int) const method

Checks if the year is leap.

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

ReturnValue

True if specified year is leap, false otherwise.

See Also

GregorianCalendar::IsLeapYear(int) const method

Checks if the year is leap.

virtual bool System::Globalization::Calendar::IsLeapYear(int year) const
ParameterTypeDescription
yearintYear.

ReturnValue

True if specified year is leap, false otherwise.

See Also