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

◆ TwoDigitYearMax

override int System.Globalization.KoreanCalendar.TwoDigitYearMax
getset

Definition at line 24 of file KoreanCalendar.cs.

25 {
26 get
27 {
28 if (_twoDigitYearMax == -1)
29 {
30 _twoDigitYearMax = Calendar.GetSystemTwoDigitYearSetting(ID, 4362);
31 }
32 return _twoDigitYearMax;
33 }
34 set
35 {
37 if (value < 99 || value > _helper.MaxYear)
38 {
39 throw new ArgumentOutOfRangeException("value", value, SR.Format(SR.ArgumentOutOfRange_Range, 99, _helper.MaxYear));
40 }
42 }
43 }
readonly GregorianCalendarHelper _helper

Referenced by System.Globalization.KoreanCalendar.ToFourDigitYear().