Ejemplo n.º 1
0
 public void DateDiffPersianTest()
 {
     Assert.AreEqual("24", dateTimeHelper.DateDiffPersian("day", "۱۳۹۰/۱/۱۷", "۱۳۹۰/۲/۱۰"));
     //Assert.AreEqual("0", dateTimeHelper.DateDiffPersian("month", "۱۳۹۰/۱/۱۷", "۱۳۹۰/۲/۱۰"));
     //Assert.AreEqual("0", dateTimeHelper.DateDiffPersian("year", "۱۳۹۰/۱/۱۷", "۱۳۹۰/۲/۱۰"));
 }