<!--
{
  "availability" : [
    "watchOS: 5.0.0 - 27.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ClockKit",
  "identifier" : "/documentation/ClockKit/CLKTimeIntervalGaugeProvider",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ClockKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CLKTimeIntervalGaugeProvider"
  },
  "title" : "CLKTimeIntervalGaugeProvider"
}
-->

# CLKTimeIntervalGaugeProvider

A gauge that tracks time intervals.

```
class CLKTimeIntervalGaugeProvider
```

## Overview

Use this gauge provider to visually show the amount of time that has elapsed within the specified time interval.

> Note:
> Tinted graphic complications display gauges using a solid color chosen by the user.

## Topics

### Creating a Time Interval Gauge

[`+  gaugeProviderWithStyle:gaugeColors:gaugeColorLocations:startDate:endDate:`](/documentation/ClockKit/CLKTimeIntervalGaugeProvider/init(style:gaugeColors:gaugeColorLocations:start:end:))

Creates a time interval gauge that fills as time passes.

[`+  gaugeProviderWithStyle:gaugeColors:gaugeColorLocations:startDate:startFillFraction:endDate:endFillFraction:`](/documentation/ClockKit/CLKTimeIntervalGaugeProvider/init(style:gaugeColors:gaugeColorLocations:start:startFillFraction:end:endFillFraction:))

Creates a time interval gauge, letting you specify whether the gauge fills or empties as time passes.

### Getting Information about the Gauge

[`startDate`](/documentation/ClockKit/CLKTimeIntervalGaugeProvider/startDate)

The starting time and date for the gauge’s time interval.

[`endDate`](/documentation/ClockKit/CLKTimeIntervalGaugeProvider/endDate)

The ending time and date for the gauge’s time interval.

[`startFillFraction`](/documentation/ClockKit/CLKTimeIntervalGaugeProvider/startFillFraction)

The position of the leading edge of the time bar within the specified time interval.

[`endFillFraction`](/documentation/ClockKit/CLKTimeIntervalGaugeProvider/endFillFraction)

The position of the trailing edge of the time bar within the specified time interval.

## Relationships

### Conforms To

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

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

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

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

### Inherits From

[`CLKGaugeProvider`](/documentation/ClockKit/CLKGaugeProvider)

---

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)