<!--
{
  "documentType" : "article",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/1533520-component-wrapping-options",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Component Wrapping Options"
}
-->

# Component Wrapping Options

The wrapping option specifies overflow behavior for calendar components in calendrical calculations

## Discussion

The wrapping option specifies overflow behavior for calendar components in calendrical calculations—see [`CFCalendarAddComponents`](/documentation/CoreFoundation/CFCalendarAddComponents) and [`CFCalendarGetComponentDifference`](/documentation/CoreFoundation/CFCalendarGetComponentDifference).

## Topics

### Constants

[`var kCFCalendarComponentsWrap: CFOptionFlags`](/documentation/CoreFoundation/kCFCalendarComponentsWrap)

Specifies that the components specified for calendar components should be incremented and wrap around to zero/one on overflow, but should not cause higher units to be incremented.



---

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)