<!--
{
  "availability" : [
    "iOS: 11.2.0 - 18.0.0",
    "iPadOS: 11.2.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0",
    "macOS: 10.13.2 - 15.0.0",
    "tvOS: 11.2.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0",
    "watchOS: 6.2.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKProduct/PeriodUnit",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:@E@SKProductPeriodUnit"
  },
  "title" : "SKProduct.PeriodUnit"
}
-->

# SKProduct.PeriodUnit

Values representing the duration of an interval, from a day up to a year.

```
enum PeriodUnit
```

## Overview

The period unit represents the duration of an interval. Period units are used with the number of units to determine one period in [`SKProductSubscriptionPeriod`](/documentation/StoreKit/SKProductSubscriptionPeriod).

## Topics

### Period Units

[`case day`](/documentation/StoreKit/SKProduct/PeriodUnit/day)

An interval lasting one day.

[`case month`](/documentation/StoreKit/SKProduct/PeriodUnit/month)

An interval lasting one month.

[`case week`](/documentation/StoreKit/SKProduct/PeriodUnit/week)

An interval lasting one week.

[`case year`](/documentation/StoreKit/SKProduct/PeriodUnit/year)

An interval lasting one year.

### Initializers

[`init?(rawValue: UInt)`](/documentation/StoreKit/SKProduct/PeriodUnit/init(rawValue:))

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Hashable`](/documentation/Swift/Hashable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)