ComponentOne MultiSelect for WinForms
C1.Globalization Namespace / JapaneseCalendarEx Class / GetLeapMonth Method / GetLeapMonth(Int32,Int32) Method
A year.
An era.

In This Topic
    GetLeapMonth(Int32,Int32) Method
    In This Topic
    Calculates the leap month for a specified year and era.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function GetLeapMonth( _
       ByVal year As Integer, _
       ByVal era As Integer _
    ) As Integer
    public override int GetLeapMonth( 
       int year,
       int era
    )

    Parameters

    year
    A year.
    era
    An era.

    Return Value

    A positive integer that indicates the leap month in the specified year and era. -or- Zero if this calendar does not support a leap month or if the year and era parameters do not specify a leap year.
    Exceptions
    ExceptionDescription
    year or era is outside the range supported by the JapaneseCalendarEx type.
    See Also