fCraft.DateTimeUtil.ToTimeSpanLegacy C# (CSharp) Method

ToTimeSpanLegacy() static private method

static private ToTimeSpanLegacy ( [ str, System.TimeSpan &result ) : bool
str [
result System.TimeSpan
return bool
        internal static bool ToTimeSpanLegacy( [NotNull] this string str, ref TimeSpan result ) {
            if( str == null ) throw new ArgumentNullException( "str" );
            if( str.Length > 1 ) {
                result = new TimeSpan( Int64.Parse( str ) * TicksPerMillisecond );
                return true;
            } else {
                return false;
            }
        }

Same methods

DateTimeUtil::ToTimeSpanLegacy ( this str, System.TimeSpan &result ) : bool