public static NextMonth ( this startMonth ) : YearAndMonth | ||
startMonth | this | |
return | YearAndMonth |
public void NextMonthTest() { for (var i = 1; i <= TimeSpec.MonthsPerYear; i++) { TimeTool.NextMonth(i).Month.Should().Be(i % TimeSpec.MonthsPerYear + 1); } }