Calendar for WinForms | ComponentOne
C1.Globalization Namespace / JapaneseCalendarEx Class / IsLeapMonth Method / IsLeapMonth(Int32,Int32,Int32) Method
An integer that represents the year.
An integer from 1 to 12 that represents the month.
An integer that represents the era.

In This Topic
    IsLeapMonth(Int32,Int32,Int32) Method
    In This Topic
    Determines whether the specified month in the specified year in the specified era is a leap month.
    Syntax
    'Declaration
     
    
    Public Overloads Overrides Function IsLeapMonth( _
       ByVal year As Integer, _
       ByVal month As Integer, _
       ByVal era As Integer _
    ) As Boolean
    public override bool IsLeapMonth( 
       int year,
       int month,
       int era
    )

    Parameters

    year
    An integer that represents the year.
    month
    An integer from 1 to 12 that represents the month.
    era
    An integer that represents the era.

    Return Value

    This method always returns false, unless overridden by a derived class.
    Exceptions
    ExceptionDescription
    year is outside the range supported by the calendar.-or- month is outside the range supported by the calendar. -or- era is outside the range supported by the calendar.
    See Also