示例#1
0
        public void TestAddYears()
        {
            var i = 2;

            using (var newDate = _qDate.AddYears(i))
            {
                Assert.AreEqual(2014 + i, newDate.Year);
            }
        }