System\Text\Json\JsonHelpers.Date.cs (10)
49if (!TryParseDateTimeOffset(source, out DateTimeParseData parseData))
82if (!TryParseDateTimeOffset(source, out DateTimeParseData parseData))
101if (TryParseDateTimeOffset(source, out DateTimeParseData parseData) &&
118/// <param name="parseData">The parsed <see cref="DateTimeParseData"/> for the given <paramref name="source"/>.</param>
141private static bool TryParseDateTimeOffset(ReadOnlySpan<byte> source, out DateTimeParseData parseData)
354static bool ParseOffset(ref DateTimeParseData parseData, ReadOnlySpan<byte> offsetData)
406private static bool TryCreateDateTimeOffset(DateTime dateTime, ref DateTimeParseData parseData, out DateTimeOffset value)
450private static bool TryCreateDateTimeOffset(ref DateTimeParseData parseData, out DateTimeOffset value)
470private static bool TryCreateDateTimeOffsetInterpretingDataAsLocalTime(DateTimeParseData parseData, out DateTimeOffset value)
496private static bool TryCreateDateTime(DateTimeParseData parseData, DateTimeKind kind, out DateTime value)