KoreanLunisolarCalendar.GetEra(DateTime) KoreanLunisolarCalendar.GetEra(DateTime) KoreanLunisolarCalendar.GetEra(DateTime) KoreanLunisolarCalendar.GetEra(DateTime) Method

Definition

Retrieves the era that corresponds to the specified DateTime.

public:
 override int GetEra(DateTime time);
public override int GetEra (DateTime time);
override this.GetEra : DateTime -> int
Public Overrides Function GetEra (time As DateTime) As Integer

Parameters

Returns

An integer that represents the era specified by the time parameter. The return value for a KoreanLunisolarCalendar object is always the GregorianEra value.

Exceptions

Applies to