public static NextQuarter ( this startQuarterKind ) : YearAndQuarter | ||
startQuarterKind | this | |
리턴 | YearAndQuarter |
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); }