GetHalfyearOfMonth() public static method

public static GetHalfyearOfMonth ( int yearMonth ) : HalfyearKind
yearMonth int
return HalfyearKind
Esempio n. 1
0
 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));
 }