From 8836c31f258765b5f8ddf99c87be99a0285cc865 Mon Sep 17 00:00:00 2001 From: Neil Boyd Date: Tue, 8 Feb 2022 07:17:24 +0100 Subject: [PATCH] fix warnings --- src/Humanizer/ClockNotationRounding.cs | 10 ++++++++++ .../Localisation/ResourceKeys.TimeUnitSymbol.cs | 2 -- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/Humanizer/ClockNotationRounding.cs b/src/Humanizer/ClockNotationRounding.cs index 7d9fa8f71..9f7732a3d 100644 --- a/src/Humanizer/ClockNotationRounding.cs +++ b/src/Humanizer/ClockNotationRounding.cs @@ -1,8 +1,18 @@ namespace Humanizer { + /// + /// Options for specifying readable clock notation + /// public enum ClockNotationRounding { + /// + /// Do not round minutes + /// None, + + /// + /// Round time to nearest five minutes + /// NearestFiveMinutes } } diff --git a/src/Humanizer/Localisation/ResourceKeys.TimeUnitSymbol.cs b/src/Humanizer/Localisation/ResourceKeys.TimeUnitSymbol.cs index c008fdb47..6a3dca264 100644 --- a/src/Humanizer/Localisation/ResourceKeys.TimeUnitSymbol.cs +++ b/src/Humanizer/Localisation/ResourceKeys.TimeUnitSymbol.cs @@ -16,8 +16,6 @@ public static class TimeUnitSymbol /// Generates Resource Keys according to convention. /// /// Time unit, . - /// Number of units, default is One. - /// Result to words, default is false. /// Resource key, like TimeSpanHumanize_SingleMinute public static string GetResourceKey(TimeUnit unit) {