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

◆ ToFourDigitYear()

override int System.Globalization.EastAsianLunisolarCalendar.ToFourDigitYear ( int year)
inlinevirtualinherited

Reimplemented from System.Globalization.Calendar.

Definition at line 495 of file EastAsianLunisolarCalendar.cs.

496 {
497 if (year < 0)
498 {
499 throw new ArgumentOutOfRangeException("year", year, SR.ArgumentOutOfRange_NeedNonNegNum);
500 }
501 year = base.ToFourDigitYear(year);
503 return year;
504 }

References System.SR.ArgumentOutOfRange_NeedNonNegNum, System.Globalization.EastAsianLunisolarCalendar.CheckYearRange(), and System.year.