def iadd(t1, offset): fractional, whole = math.modf(offset) t1.twsec += whole t1.tfsec += fractional normalize(t1) return t1