pyCATHY.cathy_utils.timedelta

pyCATHY.cathy_utils.timedelta#

class pyCATHY.cathy_utils.timedelta[source]#

Difference between two datetime values.

timedelta(days=0, seconds=0, microseconds=0, milliseconds=0, minutes=0, hours=0, weeks=0)

All arguments are optional and default to 0. Arguments may be integers or floats, and may be positive or negative.

__init__()#

Methods

__init__()

total_seconds

Total seconds in the duration.

Attributes

days

Number of days.

max

microseconds

Number of microseconds (>= 0 and less than 1 second).

min

resolution

seconds

Number of seconds (>= 0 and less than 1 day).