IsLeapYear()

JapaneseCalendar::IsLeapYear(int, int) const method

Checks if the year is leap.

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

Arguments

ParameterTypeDescription
yearintYear.
eraintEra.

Return Value

True if specified year is leap, false otherwise.

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

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