feat: Added TimeSpan extension methods for cycling hours and minutes without modifying the day

This commit is contained in:
Chris Cameron
2019-09-09 10:06:51 -04:00
parent 45ee3e70b0
commit 9a6f197aa0
4 changed files with 88 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ namespace ICD.Common.Utils.Tests
[TestCase(0, 12)]
[TestCase(12, 12)]
[TestCase(23, 11)]
public void Get12Hour(int hour, int expected)
public void To12HourTest(int hour, int expected)
{
Assert.AreEqual(expected, DateTimeUtils.To12Hour(hour));
}