ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Core.Rendering.JpCalendar Namespace / JapaneseCalendarEx Class / GetDaysInMonth Method / GetDaysInMonth(Int32,Int32,Int32) Method
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.

GetDaysInMonth(Int32,Int32,Int32) Method
Returns the number of days in the specified month in the specified year in the specified era.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function GetDaysInMonth( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal era As Integer _
) As Integer
 

Parameters

year
An integer that represents the year.
month
An integer from 1 to 12 that represents the month.
era
An integer that represents the era.

Return Value

The number of days in the specified month in the specified year in the specified era.
Exceptions
ExceptionDescription
year is outside the range supported by the calendar.-or- month is outside the range supported by the calendar. -or- era is outside the range supported by the calendar.
See Also