AssetOpeningHoursPeriod

data class AssetOpeningHoursPeriod(val start: String, val end: String)

The hours for an opening period. To define a slice of time where the asset is open you must define a start and end keys. start and end must belong to the same day (crossing midnight may result in open_now being always false.)

Parameters

start

Contains a time of day in 24-hour hh:mm format for the begin of opening period. Values are in the range 00:00–23:59

end

Contains a time of day in 24-hour hh:mm format for the end of opening period. Values are in the range 00:00–23:59

Constructors

Link copied to clipboard
constructor(start: String, end: String)

Properties

Link copied to clipboard
@SerializedName(value = "end")
val end: String
Link copied to clipboard
@SerializedName(value = "start")
val start: String