Skip to content

Commit

Permalink
Merge pull request #1176 from neilboyd/fix-warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
clairernovotny authored Feb 18, 2022
2 parents 3dccba3 + 8836c31 commit 3e79379
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 10 additions & 0 deletions src/Humanizer/ClockNotationRounding.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
namespace Humanizer
{
/// <summary>
/// Options for specifying readable clock notation
/// </summary>
public enum ClockNotationRounding
{
/// <summary>
/// Do not round minutes
/// </summary>
None,

/// <summary>
/// Round time to nearest five minutes
/// </summary>
NearestFiveMinutes
}
}
2 changes: 0 additions & 2 deletions src/Humanizer/Localisation/ResourceKeys.TimeUnitSymbol.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ public static class TimeUnitSymbol
/// Generates Resource Keys according to convention.
/// </summary>
/// <param name="unit">Time unit, <see cref="TimeUnit"/>.</param>
/// <param name="count">Number of units, default is One.</param>
/// <param name="toWords">Result to words, default is false.</param>
/// <returns>Resource key, like TimeSpanHumanize_SingleMinute</returns>
public static string GetResourceKey(TimeUnit unit)
{
Expand Down

0 comments on commit 3e79379

Please sign in to comment.