Parses a javascript date string (RFC 1123).
Static Package Functions | |
static DateTime | Parse (string input) |
Parses a javascript date string. More... | |
Static Private Member Functions | |
static DateTime | ParseUnstructured (string input) |
Parses an unstructured javascript date string. More... | |
static Dictionary< string, bool > | PopulateDayOfWeekNames () |
Constructs a HashSet containing the names of days of the week. More... | |
static Dictionary< string, int > | PopulateMonthNames () |
Constructs a dictionary containing the names of all the months and a mapping to the number of the month (1-12). More... | |
static Dictionary< string, int > | PopulateTimeZones () |
Constructs a dictionary containing the names of all the time zones and a mapping to the time zone offset (in hours). More... | |
Static Private Attributes | |
static Dictionary< string, bool > | dayOfWeekNames |
static Dictionary< string, int > | monthNames |
static Dictionary< string, int > | timeZoneNames |
|
private |
|
inlinestaticpackage |
Parses a javascript date string.
input | The string to parse as a date. |
|
inlinestaticprivate |
Parses an unstructured javascript date string.
input | The string to parse as a date. |
|
inlinestaticprivate |
Constructs a HashSet containing the names of days of the week.
|
inlinestaticprivate |
Constructs a dictionary containing the names of all the months and a mapping to the number of the month (1-12).
|
inlinestaticprivate |
Constructs a dictionary containing the names of all the time zones and a mapping to the time zone offset (in hours).
|
staticprivate |
|
staticprivate |
|
staticprivate |