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

◆ CheckHebrewMonthValue()

void System.Globalization.HebrewCalendar.CheckHebrewMonthValue ( int year,
int month,
int era )
inlineprivate

Definition at line 210 of file HebrewCalendar.cs.

211 {
212 int monthsInYear = GetMonthsInYear(year, era);
213 if (month < 1 || month > monthsInYear)
214 {
215 throw new ArgumentOutOfRangeException("month", month, SR.Format(SR.ArgumentOutOfRange_Range, 1, monthsInYear));
216 }
217 }
override int GetMonthsInYear(int year, int era)

References System.SR.ArgumentOutOfRange_Range, System.SR.Format(), System.Globalization.HebrewCalendar.GetMonthsInYear(), and System.year.

Referenced by System.Globalization.HebrewCalendar.GetDaysInMonth(), System.Globalization.HebrewCalendar.IsLeapMonth(), and System.Globalization.HebrewCalendar.ToDateTime().