ChineseLunisolarCalendar.GetEra(DateTime) ChineseLunisolarCalendar.GetEra(DateTime) ChineseLunisolarCalendar.GetEra(DateTime) ChineseLunisolarCalendar.GetEra(DateTime) Method

Definition

Retrieves the era that corresponds to the specified DateTime type.

public:
 override int GetEra(DateTime time);
[System.Runtime.InteropServices.ComVisible(false)]
public override int GetEra (DateTime time);
override this.GetEra : DateTime -> int
Public Overrides Function GetEra (time As DateTime) As Integer

Parameters

time
DateTime DateTime DateTime DateTime

The DateTime type to read.

Returns

An integer that represents the era in the time parameter.

Exceptions

Applies to