Επεξεργασία

Κοινή χρήση μέσω


TaiwanLunisolarCalendar.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

time
DateTime

The DateTime to read.

Returns

An integer that represents the era specified in the time parameter.

Applies to