26 references to TimeSpanStandardStyles
System.Private.CoreLib (26)
src\libraries\System.Private.CoreLib\src\System\Globalization\TimeSpanParse.cs (26)
630bool success = TryParseTimeSpan(input, TimeSpanStandardStyles.Any, formatProvider, ref parseResult); 639if (TryParseTimeSpan(input, TimeSpanStandardStyles.Any, formatProvider, ref parseResult)) 694private static bool TryParseTimeSpan(ReadOnlySpan<char> input, TimeSpanStandardStyles style, IFormatProvider? formatProvider, ref TimeSpanResult result) 744private static bool ProcessTerminalState(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) 768private static bool ProcessTerminal_DHMSF(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) 776bool inv = (style & TimeSpanStandardStyles.Invariant) != 0; 777bool loc = (style & TimeSpanStandardStyles.Localized) != 0; 838private static bool ProcessTerminal_HMS_F_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) 840if (raw._sepCount != 5 || (style & TimeSpanStandardStyles.RequireFull) != 0) 846bool inv = ((style & TimeSpanStandardStyles.Invariant) != 0); 847bool loc = ((style & TimeSpanStandardStyles.Localized) != 0); 964private static bool ProcessTerminal_HM_S_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) 966if (raw._sepCount != 4 || (style & TimeSpanStandardStyles.RequireFull) != 0) 972bool inv = ((style & TimeSpanStandardStyles.Invariant) != 0); 973bool loc = ((style & TimeSpanStandardStyles.Localized) != 0); 1090private static bool ProcessTerminal_HM(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) 1092if (raw._sepCount != 3 || (style & TimeSpanStandardStyles.RequireFull) != 0) 1098bool inv = ((style & TimeSpanStandardStyles.Invariant) != 0); 1099bool loc = ((style & TimeSpanStandardStyles.Localized) != 0); 1159private static bool ProcessTerminal_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) 1161if (raw._sepCount != 2 || (style & TimeSpanStandardStyles.RequireFull) != 0) 1167bool inv = ((style & TimeSpanStandardStyles.Invariant) != 0); 1168bool loc = ((style & TimeSpanStandardStyles.Localized) != 0); 1240'g' => TryParseTimeSpan(input, TimeSpanStandardStyles.Localized, formatProvider, ref result), 1241'G' => TryParseTimeSpan(input, TimeSpanStandardStyles.Localized | TimeSpanStandardStyles.RequireFull, formatProvider, ref result),