mirror of
https://github.com/ICDSystems/ICD.Common.Utils.git
synced 2026-02-15 20:54:58 +00:00
chore: comments
This commit is contained in:
@@ -130,10 +130,10 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 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).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="extends"></param>
|
/// <param name="extends"></param>
|
||||||
/// <param name="hours"></param>
|
/// <param name="years"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public static DateTime AddYearsAndWrap(this DateTime extends, int years)
|
public static DateTime AddYearsAndWrap(this DateTime extends, int years)
|
||||||
{
|
{
|
||||||
@@ -146,7 +146,7 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 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.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="extends"></param>
|
/// <param name="extends"></param>
|
||||||
/// <param name="months"></param>
|
/// <param name="months"></param>
|
||||||
@@ -161,7 +161,7 @@ namespace ICD.Common.Utils.Extensions
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 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.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="extends"></param>
|
/// <param name="extends"></param>
|
||||||
/// <param name="days"></param>
|
/// <param name="days"></param>
|
||||||
|
|||||||
Reference in New Issue
Block a user