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

◆ GetYearInfo()

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

Definition at line 129 of file JapaneseLunisolarCalendar.cs.

130 {
131 if (lunarYear < 1960 || lunarYear > 2049)
132 {
133 throw new ArgumentOutOfRangeException("year", lunarYear, SR.Format(SR.ArgumentOutOfRange_Range, 1960, 2049));
134 }
135 return s_yinfo[lunarYear - 1960, index];
136 }

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