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

In This Topic
    GetYear Method
    In This Topic
    When overridden in a derived class, 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 time.
    See Also