---
title: CLKTimeIntervalGaugeProvider
framework: clockkit
role: symbol
role_heading: Class
path: clockkit/clktimeintervalgaugeprovider
---

# CLKTimeIntervalGaugeProvider

A gauge that tracks time intervals.

## Declaration

```swift
class CLKTimeIntervalGaugeProvider
```

## Mentioned in

Creating a timeline entry

## Overview

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

- [init(style:gaugeColors:gaugeColorLocations:start:end:)](clockkit/clktimeintervalgaugeprovider/init(style:gaugecolors:gaugecolorlocations:start:end:).md)
- [init(style:gaugeColors:gaugeColorLocations:start:startFillFraction:end:endFillFraction:)](clockkit/clktimeintervalgaugeprovider/init(style:gaugecolors:gaugecolorlocations:start:startfillfraction:end:endfillfraction:).md)

### Getting Information about the Gauge

- [startDate](clockkit/clktimeintervalgaugeprovider/startdate.md)
- [endDate](clockkit/clktimeintervalgaugeprovider/enddate.md)
- [startFillFraction](clockkit/clktimeintervalgaugeprovider/startfillfraction.md)
- [endFillFraction](clockkit/clktimeintervalgaugeprovider/endfillfraction.md)

### Initializers

- [init(style:gaugeColors:gaugeColorLocations:startDate:endDate:)](clockkit/clktimeintervalgaugeprovider/init(style:gaugecolors:gaugecolorlocations:startdate:enddate:).md)
- [init(style:gaugeColors:gaugeColorLocations:startDate:startFillFraction:endDate:endFillFraction:)](clockkit/clktimeintervalgaugeprovider/init(style:gaugecolors:gaugecolorlocations:startdate:startfillfraction:enddate:endfillfraction:).md)

## Relationships

### Inherits From

- [CLKGaugeProvider](clockkit/clkgaugeprovider.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Gauge providers

- [CLKSimpleGaugeProvider](clockkit/clksimplegaugeprovider.md)
- [CLKGaugeProvider](clockkit/clkgaugeprovider.md)
- [CLKSimpleGaugeProviderFillFractionEmpty](clockkit/clksimplegaugeproviderfillfractionempty.md)
- [CLKGaugeProviderStyle](clockkit/clkgaugeproviderstyle.md)
