This documentation is archived and is not being maintained.

TaiwanCalendar.TwoDigitYearMax Property

Gets or sets the last year of a 100-year range that can be represented by a 2-digit year.

[Visual Basic]
Overrides Public Property TwoDigitYearMax As Integer
[C#]
public override int TwoDigitYearMax {get; set;}
[C++]
public: __property int get_TwoDigitYearMax();
public: __property void set_TwoDigitYearMax(int);
[JScript]
public override function get TwoDigitYearMax() : int;
public override function set TwoDigitYearMax(int);

Property Value

The last year of a 100-year range that can be represented by a 2-digit year.

Remarks

This property implements Calendar.TwoDigitYearMax.

Because the year in the Taiwan Calendar is typically less than four digits long, this implementation returns 99 by default and does not affect the return value of ToFourDigitYear.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

TaiwanCalendar Class | TaiwanCalendar Members | System.Globalization Namespace | ToFourDigitYear

Show: