[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rendering.JpCalendar.JapaneseCalendarEx.IsLeapDay

IsLeapDay Method

IsLeapDay(int, int, int, int)

Determines whether the specified date in the specified era is a leap day.

Declaration
public override bool IsLeapDay(int year, int month, int day, int era)
Parameters
Type Name Description
int year

An integer that represents the year.

int month

An integer from 1 to 12 that represents the month.

int day

An integer from 1 to 31 that represents the day.

int era

An integer that represents the era.

Returns
Type Description
bool

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

Overrides
Exceptions
Type Condition
ArgumentOutOfRangeException

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