Vcl.Samples.Calendar.TCalendar.IsLeapYear
Delphi
function IsLeapYear(AYear: Integer): Boolean; virtual;
C++
virtual bool __fastcall IsLeapYear(int AYear);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | Vcl.Samples.Calendar.pas Vcl.Samples.Calendar.hpp |
Vcl.Samples.Calendar | TCalendar |
説明
指定された年がうるう年かどうかを返します。
IsLeapYear メソッドは、AYear
パラメータによって指定された年がうるう年の場合 True を、そうでなければ False を返します。