From 5b46523c51516208dab8735e754501de27afa02f Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Wed, 10 Mar 2021 11:34:54 +0000 Subject: [PATCH] (#15) Clarify xmldoc summary and returns --- X10D/src/TimeSpanParser.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/X10D/src/TimeSpanParser.cs b/X10D/src/TimeSpanParser.cs index e327442..464543c 100644 --- a/X10D/src/TimeSpanParser.cs +++ b/X10D/src/TimeSpanParser.cs @@ -10,12 +10,12 @@ namespace X10D public static class TimeSpanParser { /// - /// Parses a shorthand time span string (e.g. 3w 2d 1.5h) and converts it to an instance of - /// . + /// Parses a shorthand time span string (e.g. 3w 2d 1.5h) and converts it to an instance of + /// which represents that duration of time. /// /// The input string. /// The format provider. - /// Returns an instance of . + /// An instance of constructed from the parsed . public static TimeSpan Parse(string input, IFormatProvider? provider = null) { const string realNumberPattern = @"([0-9]*\.[0-9]+|[0-9]+)";