OpeningHours

data class OpeningHours(days: List<Day>, hours: List<OpeningHour>, rule: OpeningRule?)

An opening hour rule consists of a list of days where the rule applies, a range of hours on the days and a rule stating if the gas station i open or closed during the specified time interval(s).

Constructors

OpeningHours
Link copied to clipboard
fun OpeningHours(days: List<Day>, hours: List<OpeningHour>, rule: OpeningRule?)

Functions

toString
Link copied to clipboard
open override fun toString(): String

Properties

days
Link copied to clipboard
val days: List<Day>
hours
Link copied to clipboard
val hours: List<OpeningHour>
rule
Link copied to clipboard
val rule: OpeningRule?