A Unifying Framework for Differentially Private Sums under Continual Observation