Vcl.Samples.Calendar.TCalendar.IsLeapYear

提供: RAD Studio API Documentation
移動先: 案内検索

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 を返します。

関連項目