[]
        
(Showing Draft Content)

C1.Globalization.JapaneseCalendarEx.GetEra

GetEra Method

GetEra(DateTime)

Returns the era in the specified DateTime.

Declaration
public override int GetEra(DateTime dateTime)
Public Overrides Function GetEra(dateTime As Date) As Integer
Parameters
Type Name Description
DateTime dateTime

The DateTime to read.

Returns
Type Description
int

An integer that represents the era in the specified DateTime.

Overrides