AcTools.Utils.Helpers.FlexibleParser.ParseTime C# (CSharp) Method

ParseTime() public static method

Throws an exception if can’t parse!
public static ParseTime ( string s ) : int
s string
return int
        public static int ParseTime(string s) {
            int result;
            if (!TryParseTime(s, out result)) {
                throw new FormatException();
            }

            return result;
        }

Same methods

FlexibleParser::ParseTime ( string s, int defaultValue ) : int