예제 #1
0
        public void TestAddHalfYears()
        {
            var day = new DateTime(2019, 11, 20);

            Assert.Equal(day.AddMonths(12).Date, day.AddHalfYears(2).Date);
        }