IsLeapYear()

DateTime::IsLeapYear(int) method

Determines of the specified year is a leap year.

static bool System::DateTime::IsLeapYear(int year)

Arguments

ParameterTypeDescription
yearintThe year to check

Return Value

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

See Also