[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.GetMonthsInYear

GetMonthsInYear Method

GetMonthsInYear(int, int)

Returns the number of months in the specified year in the specified era.

Declaration
public override int GetMonthsInYear(int year, int era)
Parameters
Type Name Description
int year

An integer that represents the year.

int era

An integer that represents the era.

Returns
Type Description
int

The return value is always 12.

Overrides
Exceptions
Type Condition
ArgumentOutOfRangeException

year is outside the range supported by the calendar.-or- era is outside the range supported by the calendar.