sdk-search / com.tomtom.online.sdk.search.data.common / TimeRange

TimeRange

open class TimeRange : Serializable

Opening hours for a POI (Points of Interest).

Constructors

<init>

TimeRange()

Empty constructor for the TimeRange.

TimeRange(startDate: DateTime!, endDate: DateTime!)

Default constructor for the TimeRange.

Properties

endDate

var endDate: DateTime!

The point in the next 7 days range when a given POI is being opened. (or the beginning of the range if it was opened before the range) exclusive.

startDate

var startDate: DateTime!

The point in the next 7 days range when a given POI is being opened. (or the beginning of the range if it was opened before the range) inclusive.

Functions

getEndDate

open fun getEndDate(): DateTime!

Returns the point in the next 7 days range when a given POI is being opened (or the beginning of the range if it was opened before the range exclusive).

getStartDate

open fun getStartDate(): DateTime!

Returns the point in the next 7 days range when a given POI is being opened. (or the beginning of the range if it was opened before the range) inclusive.

toString

open fun toString(): String