# BetweenTimes

# BetweenTimes


```
class BetweenTimes : TernaryExpression
```

<br />

|---|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) ||||
| ↳ | [com.google.home.automation.ExpressionWithId](https://developers.home.google.com/reference/kotlin/com/google/home/automation/ExpressionWithId) |||
|   | ↳ | [com.google.home.automation.TernaryExpression](https://developers.home.google.com/reference/kotlin/com/google/home/automation/TernaryExpression) ||
|   |   | ↳ | [com.google.home.automation.BetweenTimes](https://developers.home.google.com/reference/kotlin/com/google/home/automation/BetweenTimes) |

*** ** * ** ***

The between times operator, which evaluates to `true` when `operand1` is between `operand2` and `operand3`.

```kotlin
val x = Between(LocalTime.of(10, 0), LocalTime.of(8, 0), LocalTime.of(12, 0))
```

## Summary

| ### Inherited properties |
|---|
| From [com.google.home.automation.TernaryExpression](https://developers.home.google.com/reference/kotlin/com/google/home/automation/TernaryExpression) |---|---| | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Expression` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/TernaryExpression#operand1()` | | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Expression` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/TernaryExpression#operand2()` | | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/Expression` | `https://developers.home.google.com/reference/kotlin/com/google/home/automation/TernaryExpression#operand3()` | |