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

◆ CheckTicksRange()

void System.Globalization.EastAsianLunisolarCalendar.CheckTicksRange ( long ticks)
inlinepackageinherited

Definition at line 135 of file EastAsianLunisolarCalendar.cs.

136 {
137 if (ticks < MinSupportedDateTime.Ticks || ticks > MaxSupportedDateTime.Ticks)
138 {
139 throw new ArgumentOutOfRangeException("time", ticks, SR.Format(CultureInfo.InvariantCulture, SR.ArgumentOutOfRange_CalendarRange, MinSupportedDateTime, MaxSupportedDateTime));
140 }
141 }
virtual DateTime MaxSupportedDateTime
Definition Calendar.cs:15
virtual DateTime MinSupportedDateTime
Definition Calendar.cs:13

References System.SR.ArgumentOutOfRange_CalendarRange, System.SR.Format(), System.Globalization.CultureInfo.InvariantCulture, System.Globalization.Calendar.MaxSupportedDateTime, System.Globalization.Calendar.MinSupportedDateTime, and System.DateTime.Ticks.

Referenced by System.Globalization.EastAsianLunisolarCalendar.AddMonths(), System.Globalization.EastAsianLunisolarCalendar.AddYears(), System.Globalization.EastAsianLunisolarCalendar.GetDayOfMonth(), System.Globalization.EastAsianLunisolarCalendar.GetDayOfWeek(), System.Globalization.EastAsianLunisolarCalendar.GetDayOfYear(), System.Globalization.ChineseLunisolarCalendar.GetEra(), System.Globalization.KoreanLunisolarCalendar.GetEra(), System.Globalization.EastAsianLunisolarCalendar.GetMonth(), System.Globalization.EastAsianLunisolarCalendar.GetSexagenaryYear(), and System.Globalization.EastAsianLunisolarCalendar.GetYear().