TaiwanCalendar.TwoDigitYearMax 속성

정의

두 자릿수 연도로 표시할 수 있는 100년 범위의 마지막 연도를 가져오거나 설정합니다.

public:
 virtual property int TwoDigitYearMax { int get(); void set(int value); };
public override int TwoDigitYearMax { get; set; }
member this.TwoDigitYearMax : int with get, set
Public Overrides Property TwoDigitYearMax As Integer

속성 값

Int32

두 자릿수 연도로 표시할 수 있는 100년 범위의 마지막 연도입니다.

예외

set 작업에서 지정된 값이 99보다 작은 경우

또는 set 작업에서 지정한 값이 8011 (또는 MaxSupportedDateTime.Year)보다 큰 경우

set 작업에서 현재 인스턴스가 읽기 전용인 경우

설명

이 속성은 Calendar.TwoDigitYearMax를 구현합니다.

대만 달력의 연도는 일반적으로 4자리 미만이므로 이 구현은 기본적으로 99를 반환하며 반환 값 ToFourDigitYear에는 영향을 주지 않습니다.

적용 대상

추가 정보