From 5b5ee258caf6629b47fd61313ea4f1bfe1ee6808 Mon Sep 17 00:00:00 2001 From: Jeffery Thompson Date: Thu, 12 Dec 2019 15:23:44 -0500 Subject: [PATCH] chore: comments --- ICD.Common.Utils/Extensions/DateTimeExtensions.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ICD.Common.Utils/Extensions/DateTimeExtensions.cs b/ICD.Common.Utils/Extensions/DateTimeExtensions.cs index f813ce5..8901c49 100644 --- a/ICD.Common.Utils/Extensions/DateTimeExtensions.cs +++ b/ICD.Common.Utils/Extensions/DateTimeExtensions.cs @@ -130,10 +130,10 @@ namespace ICD.Common.Utils.Extensions } /// - /// Adds the given number of hours to the time, wrapping every 24 hours without modifying the day. + /// Adds the given number of years to the date, and checks if the day is still valid (basically only for leap days). /// /// - /// + /// /// public static DateTime AddYearsAndWrap(this DateTime extends, int years) { @@ -146,7 +146,7 @@ namespace ICD.Common.Utils.Extensions } /// - /// Adds the given number of hours to the time, wrapping every 24 hours without modifying the day. + /// Adds the given number of months to the date, wrapping every 12 months, and lowering the day in the month is not valid. /// /// /// @@ -161,7 +161,7 @@ namespace ICD.Common.Utils.Extensions } /// - /// Adds the given number of hours to the time, wrapping every 24 hours without modifying the day. + /// Adds the given number of days to the date, wrapping when the number of days exceeds the days in a month. /// /// ///