System::Globalization::PersianCalendar::IsLeapYear method

PersianCalendar::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

PersianCalendar::IsLeapYear(int, int) const method

Checks if the year is leap.

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

ReturnValue

True if specified year is leap, false otherwise.

See Also