Add (Try)GetDateTime(Offset) to JsonElement
authorLayomi Akinrinade <layomia@gmail.com>
Sun, 17 Mar 2019 20:20:45 +0000 (16:20 -0400)
committerJeremy Barton <jbarton@microsoft.com>
Sun, 17 Mar 2019 20:20:45 +0000 (13:20 -0700)
commit35ad44461dc40f9f4cd2cee72a5933f3950de422
tree0060462c966f394e0097f8acf18a677afda41255
parente6dc53b8c7f6ea5999809b0a556081421d39c06d
Add (Try)GetDateTime(Offset) to JsonElement

Commit migrated from https://github.com/dotnet/corefx/commit/a5d58ccf75741365c9a0f82c5387a9ae2ec99e16
14 files changed:
src/libraries/System.Text.Json/ref/System.Text.Json.cs
src/libraries/System.Text.Json/src/System.Text.Json.csproj
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonDocument.cs
src/libraries/System.Text.Json/src/System/Text/Json/Document/JsonElement.cs
src/libraries/System.Text.Json/src/System/Text/Json/JsonHelpers.Date.cs [moved from src/libraries/System.Text.Json/src/System/Text/Json/Reader/JsonReaderHelper.Date.cs with 99% similarity]
src/libraries/System.Text.Json/src/System/Text/Json/JsonHelpers.cs
src/libraries/System.Text.Json/src/System/Text/Json/Reader/JsonReaderHelper.cs
src/libraries/System.Text.Json/src/System/Text/Json/Reader/Utf8JsonReader.MultiSegment.cs
src/libraries/System.Text.Json/src/System/Text/Json/Reader/Utf8JsonReader.TryGet.cs
src/libraries/System.Text.Json/src/System/Text/Json/Reader/Utf8JsonReader.cs
src/libraries/System.Text.Json/tests/JsonDateTimeTestData.cs [new file with mode: 0644]
src/libraries/System.Text.Json/tests/JsonDocumentTests.cs
src/libraries/System.Text.Json/tests/System.Text.Json.Tests.csproj
src/libraries/System.Text.Json/tests/Utf8JsonReaderTests.TryGet.cs