<!--
{
  "availability" : [
    "iOS: 2.0.0 - 8.0.0",
    "iPadOS: 2.0.0 - 8.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.4.0 - 10.10.0",
    "tvOS: 9.0.0 - 9.0.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 2.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFGregorianUnits",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@SA@CFGregorianUnits"
  },
  "title" : "CFGregorianUnits"
}
-->

# CFGregorianUnits

Structure used to represent a time interval in Gregorian units.

```
struct CFGregorianUnits
```

## Overview

A CFGregorianUnits is used to represent arbitrary time *intervals* (to represent a point in time using Gregorian units, use a [`CFGregorianDate`](/documentation/CoreFoundation/CFGregorianDate)). Each field can take values up to the maximum possible for its data type. Negative values are also valid.

---

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)