<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "macOS: 10.10.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Calendar/minimumRange(of:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "s:10Foundation8CalendarV12minimumRange2ofSnySiGSgAC9ComponentO_tF"
  },
  "title" : "minimumRange(of:)"
}
-->

# minimumRange(of:)

Returns the minimum range limits of the values that a given component can take on.

```
func minimumRange(of component: Calendar.Component) -> Range<Int>?
```

## Parameters

`component`

A component to calculate a range for.

## Return Value

The range, or nil if it could not be calculated.

## Discussion

As an example, in the Gregorian calendar the minimum range of values for the Day component is 1-28.

---

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)