Enum DateParseHandling
Specifies how date formatted strings, e.g. "/Date(1198908717056)/" and "2012-03-21T05:40Z", are parsed when reading JSON text.
Namespace: Bayat.Json
Assembly: Bayat.Json.Runtime.dll
Syntax
public enum DateParseHandling
Fields
Name | Description |
---|---|
DateTime | Date formatted strings, e.g. "/Date(1198908717056)/" and "2012-03-21T05:40Z", are parsed to DateTime. |
DateTimeOffset | Date formatted strings, e.g. "/Date(1198908717056)/" and "2012-03-21T05:40Z", are parsed to DateTimeOffset. |
None | Date formatted strings are not parsed to a date type and are read as strings. |