Move timeSum logic to Time class