NextMonth() public static méthode

public static NextMonth ( this startMonth ) : YearAndMonth
startMonth this
Résultat YearAndMonth
Exemple #1
0
 public void NextMonthTest()
 {
     for (var i = 1; i <= TimeSpec.MonthsPerYear; i++)
     {
         TimeTool.NextMonth(i).Month.Should().Be(i % TimeSpec.MonthsPerYear + 1);
     }
 }