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

◆ InitializeShortHandLookups()

static Dictionary< string, TimeSpan > System.Net.Mime.SmtpDateTime.InitializeShortHandLookups ( )
inlinestaticpackage

Definition at line 32 of file SmtpDateTime.cs.

33 {
35 dictionary.Add("UT", TimeSpan.Zero);
36 dictionary.Add("GMT", TimeSpan.Zero);
37 dictionary.Add("EDT", new TimeSpan(-4, 0, 0));
38 dictionary.Add("EST", new TimeSpan(-5, 0, 0));
39 dictionary.Add("CDT", new TimeSpan(-5, 0, 0));
40 dictionary.Add("CST", new TimeSpan(-6, 0, 0));
41 dictionary.Add("MDT", new TimeSpan(-6, 0, 0));
42 dictionary.Add("MST", new TimeSpan(-7, 0, 0));
43 dictionary.Add("PDT", new TimeSpan(-7, 0, 0));
44 dictionary.Add("PST", new TimeSpan(-8, 0, 0));
45 return dictionary;
46 }

References System.dictionary, and System.TimeSpan.Zero.