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

◆ TimeSpan() [4/4]

System.TimeSpan.TimeSpan ( int days,
int hours,
int minutes,
int seconds,
int milliseconds )
inline

Definition at line 93 of file TimeSpan.cs.

94 {
95 long num = ((long)days * 3600L * 24 + (long)hours * 3600L + (long)minutes * 60L + seconds) * 1000 + milliseconds;
96 if (num > 922337203685477L || num < -922337203685477L)
97 {
98 throw new ArgumentOutOfRangeException(null, SR.Overflow_TimeSpanTooLong);
99 }
100 _ticks = num * 10000;
101 }
readonly long _ticks
Definition TimeSpan.cs:27

References System.TimeSpan._ticks, System.L, and System.SR.Overflow_TimeSpanTooLong.