public static GetHalfyearOfMonth ( int yearMonth ) : HalfyearKind | ||
yearMonth | int | |
return | HalfyearKind |
public void GetCalendarHalfyearOfMonthTest() { TimeSpec.FirstHalfyearMonths.RunEach(m => TimeTool.GetHalfyearOfMonth(m).Should().Be(HalfyearKind.First)); TimeSpec.SecondHalfyearMonths.RunEach(m => TimeTool.GetHalfyearOfMonth(m).Should().Be(HalfyearKind.Second)); }