Vcl.Samples.Calendar.TCalendar.IsLeapYear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsLeapYear(AYear: Integer): Boolean; virtual;

C++

virtual bool __fastcall IsLeapYear(int AYear);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Samples.Calendar.pas
Vcl.Samples.Calendar.hpp
Vcl.Samples.Calendar TCalendar

Description

Returns whether the specified year is a leap year or not.

The IsLeapYear method returns True if the year specified by the AYear parameter is a leap year, False otherwise.

See Also