pytimedelta_exact_as_duration
No overview available.
def pytimedelta_exact_as_duration(
td: timedelta
) - > Duration
Converts a Python timedelta object into a precise duration representation, preserving microsecond accuracy.
Parameters
| Name | Type | Description |
|---|---|---|
| td | timedelta | The Python timedelta instance to be converted into a duration. |
Returns
| Type | Description |
|---|---|
Duration | A duration object representing the exact span of time defined by the input timedelta. |