Exemple #1
0
        public void DaysBetween20170101And20190320()
        {
            var sut        = new DateHandler();
            var firstDate  = new DateTime(2017, 1, 1);
            var secondDate = new DateTime(2019, 3, 20);
            int days       = sut.DaysBetweenDates(firstDate, secondDate);

            Assert.AreEqual(808, days);
        }