Skip to content

datethyme.TimeDelta

This is the documentation page for the TimeDelta class.

datethyme.TimeDelta

_seconds instance-attribute

_seconds = seconds

days property

days: float

hours property

hours: float

minutes property

minutes: float

__init__

__init__(seconds: float | int)

from_days classmethod

from_days(days: int | float) -> Self

from_hours classmethod

from_hours(hours: int | float) -> Self

from_minutes classmethod

from_minutes(minutes: int | float) -> Self

from_seconds classmethod

from_seconds(seconds: int | float) -> Self