TimeRange

data class TimeRange(val startTime: Date, val endTime: Date)

Opening hours for a Point Of Interest.

Parameters

startTime

The point in time when a given Point Of Interest opens (or the beginning of the range if it opens before the range starts), inclusive.

endTime

The point in time when a given Point Of Interest closes (or the end of the range if it closes after the range ends), exclusive.

Constructors

Link copied to clipboard
fun TimeRange(startTime: Date, endTime: Date)

Properties

Link copied to clipboard
val endTime: Date
Link copied to clipboard
val startTime: Date