ChineseLunisolarCalendar.GetEra(DateTime) Metoda

Definicja

Pobiera erę odpowiadającą określonemu DateTime typowi.

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

Parametry

time
DateTime

Typ do odczytania DateTime .

Zwraca

Liczba całkowita reprezentująca erę w parametrze time .

Atrybuty

Wyjątki

time wartość jest mniejsza niż MinSupportedDateTime lub większa niż MaxSupportedDateTime.

Dotyczy