public static NextHalfyear ( HalfyearKind startHalfyearKind ) : YearAndHalfyear | ||
startHalfyearKind | HalfyearKind | |
return | YearAndHalfyear |
public void NextHalfyearTest() { TimeTool.NextHalfyear(HalfyearKind.First).Halfyear.Should().Be(HalfyearKind.Second); TimeTool.NextHalfyear(HalfyearKind.Second).Halfyear.Should().Be(HalfyearKind.First); }