System::DateTime::IsLeapYear method

DateTime::IsLeapYear method

Determines of the specified year is a leap year.

static bool System::DateTime::IsLeapYear(int year)
ParameterTypeDescription
yearintThe year to check

ReturnValue

True if the specified year is a leap year, otherwise - false

See Also