IsLeapYear(Integer) Method
Determines whether the specified year is a leap year.
Declaration
function IsLeapYear(AYear: Integer): Boolean;
Parameters
Name | Type |
---|---|
AYear | Integer |
Returns
Type |
---|
Boolean |
Remarks
Use the IsLeapYear function to determine whether the year passed as an AYear parameter contains 365 or 366 days.
See Also