Nit: strictly speaking we're talking about durations, not times.. right?  Might want to rename these functions accordingly.