Calendar for WinForms | ComponentOne
C1.Globalization Namespace / JapaneseCalendarEx Class / GetYear Method
The System.DateTime to read.

In This Topic
    GetYear Method (JapaneseCalendarEx)
    In This Topic
    Returns the year in the specified System.DateTime.
    Syntax
    'Declaration
     
    
    Public Overrides Function GetYear( _
       ByVal dateTime As Date _
    ) As Integer
    public override int GetYear( 
       DateTime dateTime
    )

    Parameters

    dateTime
    The System.DateTime to read.

    Return Value

    An integer that represents the year in the specified System.DateTime.
    See Also