system\globalization\timespanparse.cs (28)
560if (TryParseTimeSpan(input, TimeSpanStandardStyles.Any, formatProvider, ref parseResult)) {
571if (TryParseTimeSpan(input, TimeSpanStandardStyles.Any, formatProvider, ref parseResult)) {
638private static Boolean TryParseTimeSpan(String input, TimeSpanStandardStyles style, IFormatProvider formatProvider, ref TimeSpanResult result) {
697private static Boolean ProcessTerminalState(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) {
731private static Boolean ProcessTerminal_DHMSF(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) {
737bool inv = ((style & TimeSpanStandardStyles.Invariant) != 0);
738bool loc = ((style & TimeSpanStandardStyles.Localized) != 0);
790private static Boolean ProcessTerminal_HMS_F_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) {
791if (raw.SepCount != 5 || raw.NumCount != 4 || (style & TimeSpanStandardStyles.RequireFull) != 0) {
796bool inv = ((style & TimeSpanStandardStyles.Invariant) != 0);
797bool loc = ((style & TimeSpanStandardStyles.Localized) != 0);
898private static Boolean ProcessTerminal_HM_S_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) {
899if (raw.SepCount != 4 || raw.NumCount != 3 || (style & TimeSpanStandardStyles.RequireFull) != 0) {
904bool inv = ((style & TimeSpanStandardStyles.Invariant) != 0);
905bool loc = ((style & TimeSpanStandardStyles.Localized) != 0);
1007private static Boolean ProcessTerminal_HM(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) {
1008if (raw.SepCount != 3 || raw.NumCount != 2 || (style & TimeSpanStandardStyles.RequireFull) != 0) {
1013bool inv = ((style & TimeSpanStandardStyles.Invariant) != 0);
1014bool loc = ((style & TimeSpanStandardStyles.Localized) != 0);
1067private static Boolean ProcessTerminal_D(ref TimeSpanRawInfo raw, TimeSpanStandardStyles style, ref TimeSpanResult result) {
1068if (raw.SepCount != 2 || raw.NumCount != 1 || (style & TimeSpanStandardStyles.RequireFull) != 0) {
1073bool inv = ((style & TimeSpanStandardStyles.Invariant) != 0);
1074bool loc = ((style & TimeSpanStandardStyles.Localized) != 0);
1143TimeSpanStandardStyles style = TimeSpanStandardStyles.None;
1150style = TimeSpanStandardStyles.Localized;
1153style = TimeSpanStandardStyles.Localized | TimeSpanStandardStyles.RequireFull;