<!--
{
  "documentType" : "article",
  "framework" : "Swift",
  "identifier" : "/documentation/Swift/Duration/AdditiveArithmetic-Implementations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "AdditiveArithmetic Implementations"
}
-->

# AdditiveArithmetic Implementations

## Topics

### Operators

[`static func + (Self) -> Self`](/documentation/Swift/Duration/+(_:))

Returns the given number unchanged.

[`static func + (Duration, Duration) -> Duration`](/documentation/Swift/Duration/+(_:_:))

Adds two values and produces their sum.

[`static func += (inout Duration, Duration)`](/documentation/Swift/Duration/+=(_:_:))

Adds two values and stores the result in the left-hand-side variable.

[`static func += (inout Self, Self)`](/documentation/Swift/Duration/+=(_:_:)-4dm12)

Adds two values and stores the result in the left-hand-side variable.

[`static func - (Duration, Duration) -> Duration`](/documentation/Swift/Duration/-(_:_:))

Subtracts one value from another and produces their difference.

[`static func -= (inout Duration, Duration)`](/documentation/Swift/Duration/-=(_:_:))

Subtracts the second value from the first and stores the difference in the
left-hand-side variable.

[`static func -= (inout Self, Self)`](/documentation/Swift/Duration/-=(_:_:)-8vzo7)

Subtracts the second value from the first and stores the difference in the
left-hand-side variable.

### Type Properties

[`static var zero: Duration`](/documentation/Swift/Duration/zero)

The zero value.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)