# CountUpTimeReference

# CountUpTimeReference

Artifact: [androidx.wear.watchface:watchface-complications-data](https://developer.android.com/jetpack/androidx/releases/wear-watchface)  
[View Source](https://cs.android.com/search?q=file:androidx/wear/watchface/complications/data/Time.kt+class:androidx.wear.watchface.complications.data.CountUpTimeReference)  
Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.0.0)

*** ** * ** ***

Kotlin \|[Java](https://developer.android.com/reference/androidx/wear/watchface/complications/data/CountUpTimeReference "View this page in Java")


```
class CountUpTimeReference
```

<br />

*** ** * ** ***

Defines a point in time the complication is counting up from.

## Summary

|                                                                                                                        ### Public constructors                                                                                                                         |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [CountUpTimeReference](https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/CountUpTimeReference#CountUpTimeReference(java.time.Instant))`(instant: `[Instant](https://developer.android.com/reference/java/time/Instant.html)`)` |

|                           ### Public properties                           |
|---------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------|
| [Instant](https://developer.android.com/reference/java/time/Instant.html) | [instant](https://developer.android.com/reference/kotlin/androidx/wear/watchface/complications/data/CountUpTimeReference#instant()) |

## Public constructors

### CountUpTimeReference

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.0.0)  

```
CountUpTimeReference(instant: Instant)
```  

## Public properties

### instant

Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/wear-watchface#1.0.0)  

```
val instant: Instant
```