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

◆ CheckHebrewDayValue()

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

Definition at line 219 of file HebrewCalendar.cs.

220 {
221 int daysInMonth = GetDaysInMonth(year, month, era);
222 if (day < 1 || day > daysInMonth)
223 {
224 throw new ArgumentOutOfRangeException("day", day, SR.Format(SR.ArgumentOutOfRange_Range, 1, daysInMonth));
225 }
226 }
override int GetDaysInMonth(int year, int month, int era)

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

Referenced by System.Globalization.HebrewCalendar.IsLeapDay(), and System.Globalization.HebrewCalendar.ToDateTime().