Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
override string | ToString () |
Package Functions | |
SmtpDateTime (DateTime value) | |
SmtpDateTime (string value) | |
void | ValidateAndGetTimeZoneOffsetValues (string offset, out bool positive, out int hours, out int minutes) |
void | ValidateTimeZoneShortHandValue (string value) |
string | FormatDate (DateTime value) |
DateTime | ParseValue (string data, out string timeZone) |
bool | TryParseTimeZoneString (string timeZoneString, out TimeSpan timeZone) |
TimeSpan | ValidateAndGetSanitizedTimeSpan (TimeSpan span) |
string | TimeSpanToOffset (TimeSpan span) |
Static Package Functions | |
static Dictionary< string, TimeSpan > | InitializeShortHandLookups () |
Static Package Attributes | |
static readonly string[] | s_validDateTimeFormats = new string[4] { "ddd, dd MMM yyyy HH:mm:ss", "dd MMM yyyy HH:mm:ss", "ddd, dd MMM yyyy HH:mm", "dd MMM yyyy HH:mm" } |
static readonly char[] | s_allowedWhiteSpaceChars = new char[2] { ' ', '\t' } |
static readonly Dictionary< string, TimeSpan > | s_timeZoneOffsetLookup = InitializeShortHandLookups() |
Properties | |
DateTime | Date [get] |
Private Attributes | |
readonly DateTime | _date |
readonly TimeSpan | _timeZone |
readonly bool | _unknownTimeZone |
Definition at line 6 of file SmtpDateTime.cs.