Esempio n. 1
0
        public void CheckDateDiff()
        {
            var dt1 = new PersianDateTime("1399/12/29");
            var dt2 = new PersianDateTime("1399/11/29");

            Assert.Equal(30, Convert.ToInt32(PersianDateTime.DateDifference(dt1, dt2)));
        }