Skip to content

Commit f4a4113

Browse files
committed
More docs
1 parent e435b28 commit f4a4113

File tree

7 files changed

+2
-11
lines changed

7 files changed

+2
-11
lines changed

docs/UnitTest.md

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
```
1212
Expected: 08/01/2011 21:25:00 +00:00
1313
But was: 08/01/2011 21:25:00 +09:00
14-
---
15-
at Newtonsoft.Json.Tests.JsonTextReaderTest.ReadAsDateTimeOffsetIsoDate () [0x00085] in .\src\Newtonsoft.Json.Tests\JsonTextReaderTest.cs:2354
1614
```
1715

1816
### DateTimeOffset cannot parse formatted string well
@@ -24,18 +22,11 @@ Expected string length 40 but was 32. Strings differ at index 1.
2422
Expected: ""Friday, 15 December 2000 10:11:03 p.m.""
2523
But was: ""15 December 2000 10:11:03 p.m.""
2624
------------^
27-
---
28-
at Newtonsoft.Json.Tests.Converters.IsoDateTimeConverterTests.SerializeFormattedDateTimeNewZealandCulture () [0x00070] in .\src\Newtonsoft.Json.Tests\Converters\IsoDateTimeConverterTests.cs:143
2925
```
3026

3127
##### DateFormatStringWithDateTimeOffset
3228

3329
```
34-
Newtonsoft.Json.JsonReaderException : Could not convert string to DateTimeOffset: 2000-pie-Dec-Friday-22. Path '', line 1, position 24.
35-
---
36-
at Newtonsoft.Json.JsonReader.ReadDateTimeOffsetString (System.String s) [0x0007d] in .\src\Newtonsoft.Json\JsonReader.cs:875
37-
at Newtonsoft.Json.JsonTextReader.ReadStringValue (ReadType readType) [0x001c7] in .\src\Newtonsoft.Json\JsonTextReader.cs:595
38-
at Newtonsoft.Json.JsonTextReader.ReadAsDateTimeOffset () [0x00000] in .\src\Newtonsoft.Json\JsonTextReader.cs:929
39-
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonContract contract, Boolean hasConverter) [0x00089] in .\src\Newtonsoft.Json\Serialization\JsonSerializerInternalReader.cs:2250
40-
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00021] in .\src\Newtonsoft.Json\Serialization\JsonSerializerInternalReader.cs:149
30+
Newtonsoft.Json.JsonReaderException : Could not convert string to DateTimeOffset:
31+
2000-pie-Dec-Friday-22. Path '', line 1, position 24.
4132
```
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)