Improve DateTime{Offset}.ParseExact performance for "O"/"o" roundtrip format (dotnet...
authorStephen Toub <stoub@microsoft.com>
Fri, 6 Jul 2018 16:12:54 +0000 (12:12 -0400)
committerGitHub <noreply@github.com>
Fri, 6 Jul 2018 16:12:54 +0000 (12:12 -0400)
commitdba111e917397f1e05daf80068b62cdc20e88ee4
tree76a82a3033fcaab189bafb9e4da5975783fd3b72
parent60a9c4824459301e06752f3b3b41b687570a2a9b
Improve DateTime{Offset}.ParseExact performance for "O"/"o" roundtrip format (dotnet/coreclr#18800)

Ports the code used by Utf8Parser, modified to support things Utf8Parser doesn't but DateTime{Offset{.ParseExact do, such as single-digit offset hours.

Commit migrated from https://github.com/dotnet/coreclr/commit/e650d42d14f0b701fbbe7fb8f4eb05616c0cf53d
src/libraries/System.Private.CoreLib/src/System/Globalization/DateTimeParse.cs