Vcl.Samples.Calendar.TCalendar.DaysPerMonth

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

Delphi

function DaysPerMonth(AYear, AMonth: Integer): Integer; virtual;

C++

virtual int __fastcall DaysPerMonth(int AYear, int AMonth);

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.Samples.Calendar.pas
Vcl.Samples.Calendar.hpp
Vcl.Samples.Calendar TCalendar

説明

与えられた年の指定月に対する日数を返します。

DaysPerMonth メソッドは、与えられた年の指定月に対する日数を返します。 月は AMonth パラメータによって、年は AYear パラメータによって指定されます。

関連項目