klyn.time.Duration.operator+
method
public static operator+(first as Duration, second as Duration) as Duration:
DescriptionAdds two Duration values.
import klyn.time
d1 = Duration(0, 1)
d2 = Duration(0, 0, 30)
result = d1 + d2
print(result.totalSeconds) # 5400
ReturnsA new Duration with the sum of both durations. ```klyn import klyn.time d1 = Duration(0, 1) d2 = Duration(0, 0, 30) result = d1 + d2 print(result.totalSeconds) # 5400 ```