NextQuarter() public static method

public static NextQuarter ( this startQuarterKind ) : YearAndQuarter
startQuarterKind this
return YearAndQuarter
Example #1
0
 public void NextQuarterTest()
 {
     TimeTool.NextQuarter(QuarterKind.First).Quarter.Should().Be(QuarterKind.Second);
     TimeTool.NextQuarter(QuarterKind.Second).Quarter.Should().Be(QuarterKind.Third);
     TimeTool.NextQuarter(QuarterKind.Third).Quarter.Should().Be(QuarterKind.Fourth);
     TimeTool.NextQuarter(QuarterKind.Fourth).Quarter.Should().Be(QuarterKind.First);
 }