Пример #1
0
        public static PersianDateTime AddMilliseconds(this PersianDateTime persianDateTime, int milliseconds)
        {
            var dateTime = PersianCalendar.AddMilliseconds(persianDateTime.DateTime, milliseconds);

            persianDateTime.DateTime = dateTime;
            return(new PersianDateTime(dateTime));
        }
Пример #2
0
 public PersianDateTime AddMilliseconds(int milliseconds)
 {
     return(new PersianDateTime(persianCalendar.AddMilliseconds(this.dateTime, milliseconds)));
 }