64 references to DateTimeResult
System.Private.CoreLib (64)
src\libraries\System.Private.CoreLib\src\System\DateOnly.cs (3)
478
DateTimeResult
dtResult = default;
553
DateTimeResult
dtResult = default;
644
DateTimeResult
dtResult = default;
src\libraries\System.Private.CoreLib\src\System\Globalization\DateTimeParse.cs (58)
23
DateTimeResult
result = default; // The buffer to store the parsing result.
37
DateTimeResult
result = default; // The buffer to store the parsing result.
53
DateTimeResult
resultData = default; // The buffer to store the parsing result.
68
DateTimeResult
resultData = default; // The buffer to store the parsing result.
84
internal static bool TryParseExact(ReadOnlySpan<char> s, ReadOnlySpan<char> format, DateTimeFormatInfo dtfi, DateTimeStyles style, scoped ref
DateTimeResult
result)
106
DateTimeResult
result = default; // The buffer to store the parsing result.
121
DateTimeResult
result = default; // The buffer to store the parsing result.
138
DateTimeResult
resultData = default; // The buffer to store the parsing result.
157
DateTimeResult
resultData = default; // The buffer to store the parsing result.
171
DateTimeFormatInfo dtfi, DateTimeStyles style, scoped ref
DateTimeResult
result)
208
DateTimeResult
innerResult = default; // The buffer to store the parsing result.
579
private static bool HandleTimeZone(ref __DTString str, scoped ref
DateTimeResult
result)
615
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)
1501
private static bool TryAdjustYear(ref
DateTimeResult
result, int year, out int adjustedYear)
1523
private static bool SetDateYMD(ref
DateTimeResult
result, int year, int month, int day)
1535
private static bool SetDateMDY(ref
DateTimeResult
result, int month, int day, int year)
1540
private static bool SetDateDMY(ref
DateTimeResult
result, int day, int month, int year)
1545
private static bool SetDateYDM(ref
DateTimeResult
result, int year, int day, int month)
1550
private static void GetDefaultYear(ref
DateTimeResult
result, scoped ref DateTimeStyles styles)
1557
private static bool GetDayOfNN(ref
DateTimeResult
result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1599
private static bool GetDayOfNNN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1655
private static bool GetDayOfMN(ref
DateTimeResult
result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1714
private static bool GetHebrewDayOfNM(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1734
private static bool GetDayOfNM(ref
DateTimeResult
result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1787
private static bool GetDayOfMNN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1856
private static bool GetDayOfYNN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1890
private static bool GetDayOfNNY(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
1928
private static bool GetDayOfYMN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
1946
private static bool GetDayOfYN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
1964
private static bool GetDayOfYM(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2036
private static bool GetTimeOfN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2057
private static bool GetTimeOfNN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2073
private static bool GetTimeOfNNN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2092
private static bool GetDateOfDSN(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2103
private static bool GetDateOfNDS(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw)
2127
private static bool GetDateOfNNDS(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
2176
private static bool ProcessDateTimeSuffix(ref
DateTimeResult
result, scoped ref DateTimeRawInfo raw, scoped ref DateTimeToken dtok)
2240
internal static bool ProcessHebrewTerminalState(DS dps, scoped ref
DateTimeResult
result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
2350
internal static bool ProcessTerminalState(DS dps, scoped ref
DateTimeResult
result, scoped ref DateTimeStyles styles, scoped ref DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
2431
DateTimeResult
result = default; // The buffer to store the parsing result.
2445
DateTimeResult
result = default; // The buffer to store the parsing result.
2461
DateTimeResult
resultData = default; // The buffer to store the parsing result.
2476
DateTimeResult
parseResult = default; // The buffer to store the parsing result.
2495
internal static bool TryParse(ReadOnlySpan<char> s, DateTimeFormatInfo dtfi, DateTimeStyles styles, scoped ref
DateTimeResult
result)
2736
private static bool DetermineTimeZoneAdjustments(ref
DateTimeResult
result, DateTimeStyles styles, bool bTimeOnly)
2814
private static bool DateTimeOffsetTimeZonePostProcessing(ref
DateTimeResult
result, DateTimeStyles styles)
2880
private static bool AdjustTimeZoneToUniversal(ref
DateTimeResult
result)
2905
private static bool AdjustTimeZoneToLocal(ref
DateTimeResult
result, bool bTimeOnly)
2958
private static bool ParseISO8601(scoped ref DateTimeRawInfo raw, ref __DTString str, DateTimeStyles styles, scoped ref
DateTimeResult
result)
3833
private static bool CheckNewValue(scoped ref int currentValue, int newValue, char patternChar, scoped ref
DateTimeResult
result)
3851
private static DateTime GetDateTimeNow(scoped ref
DateTimeResult
result, scoped ref DateTimeStyles styles)
3862
private static bool CheckDefaultDateTime(scoped ref
DateTimeResult
result, scoped ref Calendar cal, DateTimeStyles styles)
3963
private static string ExpandPredefinedFormat(char format, scoped ref DateTimeFormatInfo dtfi, scoped ref ParsingInfo parseInfo, scoped ref
DateTimeResult
result)
4043
scoped ref
DateTimeResult
result)
4605
scoped ref
DateTimeResult
result)
4800
private static bool TryParseFormatR(ReadOnlySpan<char> source, scoped ref
DateTimeResult
result)
4995
private static bool TryParseFormatO(ReadOnlySpan<char> source, scoped ref
DateTimeResult
result)
5209
private static Exception GetDateTimeParseException(scoped ref
DateTimeResult
result)
src\libraries\System.Private.CoreLib\src\System\TimeOnly.cs (3)
646
DateTimeResult
dtResult = default;
723
DateTimeResult
dtResult = default;
813
DateTimeResult
dtResult = default;