/// <summary> /// Converts a TimeSpan to a formatted time string. /// </summary> /// <param name="value">The TimeSpan to convert.</param> /// <param name="hours">Set true to force the hours component of the time.</param> /// <returns>The formatted time string.</returns> public static string ToTimeString(TimeSpan value, bool hours) { return value.ToLapTimeString(hours); }
/// <summary> /// Converts a TimeSpan to a formatted time string. /// </summary> /// <param name="value">The TimeSpan to convert.</param> /// <returns>The formatted time string.</returns> public static string ToTimeString(TimeSpan value) { return value.ToLapTimeString(); }