IsLeapYear()

Calendar::IsLeapYear(int) const method

Checks if the year is leap.

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

Arguments

ParameterTypeDescription
yearintYear.

Return Value

True if specified year is leap, false otherwise.

Calendar::IsLeapYear(int, int) const method

Checks if the year is leap.

virtual bool System::Globalization::Calendar::IsLeapYear(int year, int era) const =0

Arguments

ParameterTypeDescription
yearintYear.
eraintEra.

Return Value

True if specified year is leap, false otherwise.

See Also