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

◆ GetYearInfo()

override int System.Globalization.ChineseLunisolarCalendar.GetYearInfo ( int lunarYear,
int index )
inlinepackage

Definition at line 237 of file ChineseLunisolarCalendar.cs.

238 {
239 if (lunarYear < 1901 || lunarYear > 2100)
240 {
241 throw new ArgumentOutOfRangeException("year", lunarYear, SR.Format(SR.ArgumentOutOfRange_Range, 1901, 2100));
242 }
243 return s_yinfo[lunarYear - 1901, index];
244 }

References System.SR.ArgumentOutOfRange_Range, System.SR.Format(), System.index, and System.Globalization.ChineseLunisolarCalendar.s_yinfo.