klyn.time.Duration.operator-
method
public static operator-(first as Duration, second as Duration) as Duration:
Description

Subtracts two Duration values.

Parameters
ParameterDescription
firstLeft operand.
secondRight operand.
Returns

A new Duration with the difference of both durations.

Example
import klyn.time

d1 = Duration(0, 1)
d2 = Duration(0, 0, 30)
result = d1 - d2
print(result.totalSeconds)  # 1800