-
Notifications
You must be signed in to change notification settings - Fork 0
easyextensionshelpers DateTimeHelpers
BigMakCode edited this page Aug 5, 2024
·
1 revision
DateTime helpers.
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph EasyExtensions.Helpers
EasyExtensions.Helpers.DateTimeHelpers[[DateTimeHelpers]]
end
Returns | Name |
---|---|
DateTime |
ParseDateTime (string datetime)Parse DateTime from JSON format ISO 8601. |
DateTimeOffset |
ParseDateTimeOffset (string datetime)Parse DateTimeOffset from JSON format ISO 8601. |
DateTime helpers.
public static DateTime ParseDateTime(string datetime)
Type | Name | Description |
---|---|---|
string |
datetime |
Parse DateTime from JSON format ISO 8601.
Parsed datetime with UTC kind.
Name | Description |
---|---|
ArgumentException | |
FormatException | |
NotSupportedException |
public static DateTimeOffset ParseDateTimeOffset(string datetime)
Type | Name | Description |
---|---|---|
string |
datetime |
Parse DateTimeOffset from JSON format ISO 8601.
Parsed datetime offset.
Name | Description |
---|---|
ArgumentException | |
FormatException |
Generated with ModularDoc