Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.Mime.SmtpDateTime Class Referencesealed

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, TimeSpanInitializeShortHandLookups ()
 

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, TimeSpans_timeZoneOffsetLookup = InitializeShortHandLookups()
 

Properties

DateTime Date [get]
 

Private Attributes

readonly DateTime _date
 
readonly TimeSpan _timeZone
 
readonly bool _unknownTimeZone
 

Detailed Description

Definition at line 6 of file SmtpDateTime.cs.


The documentation for this class was generated from the following file: