Сумма временных интервалов

TODO: Sum of the time intervals, to calculate the total time.