KoreanLunisolarCalendar.GetEra(DateTime) 메서드

정의

지정된 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

매개 변수

time
DateTime

읽을 DateTime입니다.

반환

time 매개 변수로 지정된 연대를 나타내는 정수입니다. KoreanLunisolarCalendar 개체의 반환 값은 항상 GregorianEra 값입니다.

예외

timeMinSupportedDateTime보다 작거나 MaxSupportedDateTime보다 큰 날짜 및 시간을 나타내는 경우

적용 대상