public void CheckEndOfDay() { var dt1 = PersianDateTime.EndOfDay(new PersianDateTime("1399/12/29 23:30:20")); PersianDateTime dt2 = new PersianDateTime(1399, 12, 29, 23, 59, 59, 999); Assert.Equal(dt1, dt2); }