<!--
{
  "availability" : [
    "Xcode: 16.0.0 -",
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "swift: 6.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Testing",
  "identifier" : "/documentation/Testing/TimeLimitTrait/Duration/minutes(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Swift Testing"
    ],
    "preciseIdentifier" : "s:7Testing14TimeLimitTraitV8DurationV7minutesyAExSzRzlFZ"
  },
  "title" : "minutes(_:)"
}
-->

# minutes(_:)

Construct a time limit duration given a number of minutes.

```
static func minutes(_ minutes: some BinaryInteger) -> TimeLimitTrait.Duration
```

## Parameters

`minutes`

The length of the duration in minutes.

## Return Value

A duration representing the specified number of minutes.

---

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)