KoreanLunisolarCalendar.GetEra(DateTime) 메서드

정의

지정된 DateTime에 해당하는 연대를 검색합니다.

public:
 override int GetEra(DateTime time);
public override int GetEra(DateTime time);
override this.GetEra : DateTime -> int
abstract member GetEra : DateTime -> int
override this.GetEra : DateTime -> int
Public Overrides Function GetEra (time As DateTime) As Integer

매개 변수

time
DateTime

DateTime 읽을 항목입니다.

반품

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

예외

time 는 날짜와 시간을 .보다 MinSupportedDateTime 작거나 더 MaxSupportedDateTime큰 시간을 나타냅니다.

적용 대상