MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Core.Rendering.JpCalendar Namespace / JapaneseCalendarEx Class / IsLeapYear Method / IsLeapYear(Int32,Int32) Method
An integer that represents the year.
An integer that represents the era.

IsLeapYear(Int32,Int32) Method
Determines whether the specified year in the specified era is a leap year.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function IsLeapYear( _
   ByVal year As Integer, _
   ByVal era As Integer _
) As Boolean
 

Parameters

year
An integer that represents the year.
era
An integer that represents the era.

Return Value

true, if the specified year is a leap year; otherwise, false.
Exceptions
ExceptionDescription
year is outside the range supported by the calendar. -or- era is outside the range supported by the calendar.
See Also