Calendar for WinForms | ComponentOne
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

    The return value is always 0 because the JapaneseCalendarEx type does not support the notion of a leap month.
    Exceptions
    ExceptionDescription
    year or era is outside the range supported by the JapaneseCalendarEx type.
    See Also