Skip to content

Commit

Permalink
missing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
neilboyd committed Mar 29, 2022
1 parent 1590827 commit 8dbdfa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -19,7 +19,7 @@ public static class TimeSpanHumanize
/// </summary>
/// <param name="unit">Time unit, <see cref="TimeUnit"/>.</param>
/// <param name="count">Number of units, default is One.</param>
/// <param name="timeSpanStyle"></param>
/// <param name="timeSpanStyle">Time span style, default is <see cref="TimeSpanStyle.Full">.</param>
/// <returns>Resource key, like TimeSpanHumanize_SingleMinute</returns>
public static string GetResourceKey(TimeUnit unit, int count = 1, TimeSpanStyle timeSpanStyle = TimeSpanStyle.Full)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Humanizer/TimeSpanHumanizeExtensions.cs
Expand Up @@ -53,7 +53,7 @@ public static class TimeSpanHumanizeExtensions
/// <param name="maxUnit">The maximum unit of time to output. The default value is <see cref="TimeUnit.Week"/>. The time units <see cref="TimeUnit.Month"/> and <see cref="TimeUnit.Year"/> will give approximations for time spans bigger 30 days by calculating with 365.2425 days a year and 30.4369 days a month.</param>
/// <param name="minUnit">The minimum unit of time to output.</param>
/// <param name="collectionSeparator">The separator to use when combining humanized time parts. If null, the default collection formatter for the current culture is used.</param>
/// <param name="timeSpanStyle">Use full, abbreviated or short time unit style</param>
/// <param name="timeSpanStyle">Use full, abbreviated or short time unit style.</param>
/// <returns></returns>
public static string Humanize(this TimeSpan timeSpan, int precision = 1, CultureInfo culture = null, TimeUnit maxUnit = TimeUnit.Week, TimeUnit minUnit = TimeUnit.Millisecond, string collectionSeparator = ", ", TimeSpanStyle timeSpanStyle = TimeSpanStyle.Full)
{
Expand All @@ -70,7 +70,7 @@ public static string Humanize(this TimeSpan timeSpan, int precision = 1, Culture
/// <param name="maxUnit">The maximum unit of time to output. The default value is <see cref="TimeUnit.Week"/>. The time units <see cref="TimeUnit.Month"/> and <see cref="TimeUnit.Year"/> will give approximations for time spans bigger than 30 days by calculating with 365.2425 days a year and 30.4369 days a month.</param>
/// <param name="minUnit">The minimum unit of time to output.</param>
/// <param name="collectionSeparator">The separator to use when combining humanized time parts. If null, the default collection formatter for the current culture is used.</param>
/// <param name="timeSpanStyle">Use full, abbreviated or short time unit style</param>
/// <param name="timeSpanStyle">Use full, abbreviated or short time unit style.</param>
/// <returns></returns>
public static string Humanize(this TimeSpan timeSpan, int precision, bool countEmptyUnits, CultureInfo culture = null, TimeUnit maxUnit = TimeUnit.Week, TimeUnit minUnit = TimeUnit.Millisecond, string collectionSeparator = ", ", TimeSpanStyle timeSpanStyle = TimeSpanStyle.Full)
{
Expand Down

0 comments on commit 8dbdfa7

Please sign in to comment.