utils.datetime: Implement TimeDelta.reduce()
utils.datetime: Implement TimeDelta.reduce()

TimeDelta.reduce() transforms the timedelta into a single floating
point number in a given denomination.  The function is not precise and
that is due to inherent imperfection of the calendar.

edgedb/edgedb,edgedb/edgedb,edgedb/edgedb