NextMonth() public static method

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