Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TwoDigitYearMax

override int System.Globalization.GregorianCalendar.TwoDigitYearMax
getset

Definition at line 50 of file GregorianCalendar.cs.

51 {
52 get
53 {
54 if (_twoDigitYearMax == -1)
55 {
56 _twoDigitYearMax = Calendar.GetSystemTwoDigitYearSetting(ID, 2029);
57 }
58 return _twoDigitYearMax;
59 }
60 set
61 {
63 if (value < 99 || value > 9999)
64 {
65 throw new ArgumentOutOfRangeException("value", value, SR.Format(SR.ArgumentOutOfRange_Range, 99, 9999));
66 }
68 }
69 }