Vcl.Samples.Calendar.TCalendar.DaysPerMonth
Delphi
function DaysPerMonth(AYear, AMonth: Integer): Integer; virtual;
C++
virtual int __fastcall DaysPerMonth(int AYear, int AMonth);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Samples.Calendar.pas Vcl.Samples.Calendar.hpp |
Vcl.Samples.Calendar | TCalendar |
Description
Returns the number of days for the specified month of the given year.
The DaysPerMonth method returns the number of days for the specified month of the given year. The month is specified by the AMonth
parameter while the year is given by the AYear
parameter.