From e9f0a94cad35bdf2474ceef08ff6a06abe95352e Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sat, 16 Nov 2019 11:18:19 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Remove=20Days()=20from=20ICompar?= =?UTF-8?q?able?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- X10D/ComparableExtensions.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/X10D/ComparableExtensions.cs b/X10D/ComparableExtensions.cs index 9c98b52..4c32328 100644 --- a/X10D/ComparableExtensions.cs +++ b/X10D/ComparableExtensions.cs @@ -22,13 +22,5 @@ /// otherwise. public static bool Between(this T actual, T lower, T upper) where T : IComparable => actual.CompareTo(lower) > 0 && actual.CompareTo(upper) < 0; - - /// - /// Gets the value - /// - /// - /// - public static TimeSpan Days(this IComparable value) => - TimeSpan.FromDays((double)value); } }