KoreanLunisolarCalendar.GetEra(DateTime) Methode
Definition
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
Parameter
Gibt zurück
Eine ganze Zahl, die den im time
-Parameter angegebenen Zeitraum darstellt.An integer that represents the era specified by the time
parameter. Der Rückgabewert für ein KoreanLunisolarCalendar-Objekt ist immer der GregorianEra-Wert.The return value for a KoreanLunisolarCalendar object is always the GregorianEra value.
Ausnahmen
time
stellt ein Datum und eine Uhrzeit kleiner als MinSupportedDateTime oder größer als MaxSupportedDateTime dar.time
represents a date and time less than MinSupportedDateTime or greater than MaxSupportedDateTime.