summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs')
-rw-r--r--win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs23
1 files changed, 16 insertions, 7 deletions
diff --git a/win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs b/win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs
index 94d7629b9..816b9ca82 100644
--- a/win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs
+++ b/win/CS/HandBrakeWPF/Helpers/TimeSpanHelper.cs
@@ -1,12 +1,16 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
+// --------------------------------------------------------------------------------------------------------------------
+// <copyright file="TimeSpanHelper.cs" company="HandBrake Project (http://handbrake.fr)">
+// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
+// </copyright>
+// <summary>
+// Helper functions for handling <see cref="TimeSpan" /> structures
+// </summary>
+// --------------------------------------------------------------------------------------------------------------------
namespace HandBrakeWPF.Helpers
{
using System.Globalization;
+ using System;
/// <summary>
/// Helper functions for handling <see cref="TimeSpan"/> structures
@@ -16,10 +20,15 @@ namespace HandBrakeWPF.Helpers
/// <summary>
/// Parses chapter time start value from a chapter marker input file.
/// </summary>
- /// <param name="chapterStartRaw">The raw string value parsed from the input file</param>
+ /// <param name="chapterStartRaw">
+ /// The raw string value parsed from the input file
+ /// </param>
+ /// <returns>
+ /// The <see cref="TimeSpan"/>.
+ /// </returns>
internal static TimeSpan ParseChapterTimeStart(string chapterStartRaw)
{
- //Format: 02:35:05 and 02:35:05.2957333
+ // Format: 02:35:05 and 02:35:05.2957333
return TimeSpan.ParseExact(chapterStartRaw,
new[]
{