public void AddNullDayToSecond()
        {
            var dts1 = new SqlDayToSecond(22, 11, 23, 0, 678);
            var dts2 = SqlDayToSecond.Null;

            var result = dts1.Add(dts2);

            Assert.IsNotNull(result);
            Assert.IsTrue(result.IsNull);
        }
        public void AddDayToSecond()
        {
            var dts1 = new SqlDayToSecond(22, 11, 23, 0, 678);
            var dts2 = new SqlDayToSecond(0, 3, 22, 15, 877);

            var result = dts1.Add(dts2);

            Assert.IsNotNull(result);
            Assert.IsFalse(result.IsNull);

            Assert.AreEqual(22, result.Days);
            Assert.AreEqual(14, result.Hours);
            Assert.AreEqual(45, result.Minutes);
            Assert.AreEqual(16, result.Seconds);
            Assert.AreEqual(555, result.Milliseconds);
        }