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

◆ GetDaysInMonth() [2/2]

override int System.Globalization.GregorianCalendar.GetDaysInMonth ( int year,
int month,
int era )
inline

Definition at line 158 of file GregorianCalendar.cs.

159 {
160 if (era != 0 && era != 1)
161 {
162 throw new ArgumentOutOfRangeException("era", era, SR.ArgumentOutOfRange_InvalidEraValue);
163 }
164 return DateTime.DaysInMonth(year, month);
165 }

References System.SR.ArgumentOutOfRange_InvalidEraValue, System.DateTime.DaysInMonth(), and System.year.

Referenced by System.Globalization.GregorianCalendar.IsLeapDay().