64 references to DateTimeResult
System.Private.CoreLib (64)
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (3)
446
DateTimeResult
dtResult = default;
511
DateTimeResult
dtResult = default;
590
DateTimeResult
dtResult = default;
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (58)
22
DateTimeResult
result = default; // The buffer to store the parsing result.
36
DateTimeResult
result = default; // The buffer to store the parsing result.
52
DateTimeResult
resultData = default; // The buffer to store the parsing result.
67
DateTimeResult
resultData = default; // The buffer to store the parsing result.
83
internal static bool TryParseExact(ReadOnlySpan<char> s, ReadOnlySpan<char> format, DateTimeFormatInfo dtfi, DateTimeStyles style, scoped ref
DateTimeResult
result)
105
DateTimeResult
result = default; // The buffer to store the parsing result.
120
DateTimeResult
result = default; // The buffer to store the parsing result.
137
DateTimeResult
resultData = default; // The buffer to store the parsing result.
156
DateTimeResult
resultData = default; // The buffer to store the parsing result.
170
DateTimeFormatInfo dtfi, DateTimeStyles style, scoped ref
DateTimeResult
result)
207
DateTimeResult
innerResult = default; // The buffer to store the parsing result.
569
private static bool HandleTimeZone(ref __DTString str, scoped ref
DateTimeResult
result)
605
private static bool Lex(DS dps, ref __DTString str, scoped ref DateTimeToken dtok, scoped ref DateTimeRawInfo raw, scoped ref
DateTimeResult
result, scoped ref DateTimeFormatInfo dtfi, DateTimeStyles styles)
1495
private static bool TryAdjustYear(ref
DateTimeResult
result, int year, out int adjustedYear)
1517
private static bool SetDateYMD(ref
DateTimeResult
result, int year, int month, int day)
1529
private static bool SetDateMDY(ref
DateTimeResult
result, int month, int day, int year)
1534
private static bool SetDateDMY(ref
DateTimeResult
result, int day, int month, int year)
1539
private static bool SetDateYDM(ref
DateTimeResult
result, int year, int day, int month)
1544
private static void GetDefaultYear(ref
DateTimeResult
result, scoped ref DateTimeStyles styles)
1551
private static bool GetDayOfNN(ref
DateTimeResult
result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1593
private static bool GetDayOfNNN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1649
private static bool GetDayOfMN(ref
DateTimeResult
result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1708
private static bool GetHebrewDayOfNM(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1728
private static bool GetDayOfNM(ref
DateTimeResult
result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1781
private static bool GetDayOfMNN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1850
private static bool GetDayOfYNN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1884
private static bool GetDayOfNNY(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1922
private static bool GetDayOfYMN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
1940
private static bool GetDayOfYN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
1958
private static bool GetDayOfYM(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2030
private static bool GetTimeOfN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2051
private static bool GetTimeOfNN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2067
private static bool GetTimeOfNNN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2086
private static bool GetDateOfDSN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2097
private static bool GetDateOfNDS(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2121
private static bool GetDateOfNNDS(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
2170
private static bool ProcessDateTimeSuffix(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, scoped ref DateTimeToken dtok)
2234
internal static bool ProcessHebrewTerminalState(DS dps, scoped ref
DateTimeResult
result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
2344
internal static bool ProcessTerminalState(DS dps, scoped ref
DateTimeResult
result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
2425
DateTimeResult
result = default; // The buffer to store the parsing result.
2439
DateTimeResult
result = default; // The buffer to store the parsing result.
2455
DateTimeResult
resultData = default; // The buffer to store the parsing result.
2470
DateTimeResult
parseResult = default; // The buffer to store the parsing result.
2489
internal static bool TryParse(ReadOnlySpan<char> s, DateTimeFormatInfo dtfi, DateTimeStyles styles, scoped ref
DateTimeResult
result)
2734
private static bool DetermineTimeZoneAdjustments(ref
DateTimeResult
result, DateTimeStyles styles, bool bTimeOnly)
2812
private static bool DateTimeOffsetTimeZonePostProcessing(ref
DateTimeResult
result, DateTimeStyles styles)
2878
private static bool AdjustTimeZoneToUniversal(ref
DateTimeResult
result)
2903
private static bool AdjustTimeZoneToLocal(ref
DateTimeResult
result, bool bTimeOnly)
2956
private static bool ParseISO8601(scoped ref DateTimeRawInfo raw, ref __DTString str, DateTimeStyles styles, scoped ref
DateTimeResult
result)
3819
private static bool CheckNewValue(scoped ref int currentValue, int newValue, char patternChar, scoped ref
DateTimeResult
result)
3837
private static DateTime GetDateTimeNow(scoped ref
DateTimeResult
result, scoped ref DateTimeStyles styles)
3848
private static bool CheckDefaultDateTime(scoped ref
DateTimeResult
result, scoped ref Calendar cal, DateTimeStyles styles)
3949
private static string ExpandPredefinedFormat(char format, scoped ref DateTimeFormatInfo dtfi, scoped ref ParsingInfo parseInfo, scoped ref
DateTimeResult
result)
4029
scoped ref
DateTimeResult
result)
4593
scoped ref
DateTimeResult
result)
4788
private static bool TryParseFormatR(ReadOnlySpan<char> source, scoped ref
DateTimeResult
result)
4983
private static bool TryParseFormatO(ReadOnlySpan<char> source, scoped ref
DateTimeResult
result)
5197
private static Exception GetDateTimeParseException(scoped ref
DateTimeResult
result)
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (3)
615
DateTimeResult
dtResult = default;
682
DateTimeResult
dtResult = default;
760
DateTimeResult
dtResult = default;