KoreanLunisolarCalendar.GetEra(DateTime) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 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 . 개체의 KoreanLunisolarCalendar 반환 값은 항상 GregorianEra 값입니다.
예외
time 는 날짜와 시간을 .보다 MinSupportedDateTime 작거나 더 MaxSupportedDateTime큰 시간을 나타냅니다.