OpeningHours

constructor(ranges: List<ClosedRange<Date>>, mode: OpeningHoursMode = OpeningHoursMode.NextSevenDays)

Constructor to create a new OpeningHours object.

Parameters

ranges

The list of sequential time intervals, that describes opening hours.

mode

Defines the OpeningHoursMode, that the opening hours were requested in.