def _timedeltaToSeconds(offset):
return ((offset.days * <NUM_LIT>*<NUM_LIT>*<NUM_LIT>) +<EOL>(offset.seconds) +<EOL>(offset.microseconds * <NUM_LIT>))<EOL>
Convert a datetime.timedelta instance to simply a number of seconds.

For example, you can specify purely second intervals with timedelta's
constructor:

    >>> td = datetime.timedelta(seconds=99999999)

but then you can't get them out again:

    >>> td.seconds
    35199

This allows you to:

    >>> import epsilon.extime
    >>> epsilon.extime._timedeltaToSeconds(td)
    99999999.0

@param offset: a L{datetime.timedelta} representing an interval that we
wish to know the total number of seconds for.

@return: a number of seconds
@rtype: float