OpeningHours
class OpeningHours
Class representing Opening Hours for a Point Of Interest.
Constructors
Link copied to clipboard
constructor(ranges: List<ClosedRange<Date>>, mode: OpeningHoursMode = OpeningHoursMode.NextSevenDays)
Constructor to create a new OpeningHours object.
Properties
Link copied to clipboard
Defines the OpeningHoursMode, that the opening hours were requested in. By default OpeningHoursMode.NextSevenDays is applied.
Link copied to clipboard
The list of sequential time intervals, that describes opening hours.
Functions
Link copied to clipboard
fun copy(ranges: List<ClosedRange<Date>> = this.ranges, mode: OpeningHoursMode = this.mode, requestDay: Date = this.requestDay): OpeningHours
Link copied to clipboard