[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.IsLeapYear

IsLeapYear Method

IsLeapYear(int, int)

Determines whether the specified year in the specified era is a leap year.

Declaration
public override bool IsLeapYear(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
bool

true, if the specified year is a leap year; otherwise, false.

Overrides
Exceptions
Type Condition
ArgumentOutOfRangeException

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