---
title: "TimeInterval"
description: "TimeInterval class defines a period from [start] to [end]"
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-android'>Android</div>


> **Deprecated** glance-wear-tiles is deprecated and will be removed

```kotlin
public data class TimeInterval(
    val start: Instant = Instant.ofEpochMilli(0),
    val end: Instant = Instant.ofEpochMilli(Long.MAX_VALUE),
)
```


TimeInterval class defines a period from `start` to `end`

#### Parameters

| | |
| --- | --- |
| start | The start time of the time interval |
| end | The end time of the time interval |




