System.DateUtils.IsInLeapYear

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

Delphi

function IsInLeapYear(const AValue: TDateTime): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsInLeapYear(const System::TDateTime AValue);

プロパティ

種類 可視性 ソース ユニット
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils System.DateUtils

説明

指定された TDateTime 値がうるう年であるのかどうかを示します。

IsInLeapYear 関数を呼び出すと,AValue で指定された日付の年がうるう年であるのかどうかを確認できます。

関連項目