Skip to content

Commit

Permalink
fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
neilboyd committed Feb 18, 2022
1 parent 3dccba3 commit 8836c31
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
@@ -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
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 8836c31

Please sign in to comment.