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

In This Topic
    GetEra Method (JapaneseCalendarEx)
    In This Topic
    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 the specified System.DateTime.
    See Also