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

In This Topic
    GetEra Method
    In This Topic
    When overridden in a derived class, returns the era in the specified System.DateTime.
    Syntax
    'Declaration
     
    
    Public Overrides Function GetEra( _
       ByVal dateTime As Date _
    ) As Integer
    public override int GetEra( 
       DateTime dateTime
    )

    Parameters

    dateTime
    The System.DateTime to read.

    Return Value

    An integer that represents the era in time.
    See Also