Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
InternalGlobalizationHelper.cs
Go to the documentation of this file.
1
namespace
System.Globalization
;
2
3
internal
static
class
InternalGlobalizationHelper
4
{
5
internal
static
long
TimeToTicks
(
int
hour,
int
minute,
int
second)
6
{
7
long
num = (long)hour * 3600
L
+ (
long
)minute * 60
L
+ second;
8
if
(num > 922337203685
L
|| num < -922337203685
L
)
9
{
10
throw
new
ArgumentOutOfRangeException
(
null
,
SR
.
Overflow_TimeSpanTooLong
);
11
}
12
return
num * 10000000;
13
}
14
}
System.ArgumentOutOfRangeException
Definition
ArgumentOutOfRangeException.cs:9
System.Globalization.InternalGlobalizationHelper.TimeToTicks
static long TimeToTicks(int hour, int minute, int second)
Definition
InternalGlobalizationHelper.cs:5
System.Globalization.InternalGlobalizationHelper
Definition
InternalGlobalizationHelper.cs:4
System.SR.Overflow_TimeSpanTooLong
static string Overflow_TimeSpanTooLong
Definition
SR.cs:1784
System.SR
Definition
SR.cs:7
System.Globalization
Definition
Calendar.cs:1
System.ConsoleKey.L
@ L
source
System.Private.CoreLib
System.Globalization
InternalGlobalizationHelper.cs
Generated by
1.10.0