IsLeapYear()

PersianCalendar::IsLeapYear(int, int) const method

Checks if the year is leap.

bool System::Globalization::PersianCalendar::IsLeapYear(int year, int era) const override

Arguments

ParameterTypeDescription
yearintYear.
eraintEra.

Return Value

True if specified year is leap, false otherwise.

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

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