OpeningHours
public struct OpeningHours : HashableDefines the OpeningHours of a POI.
- 
                  
                  Creates a new OpeningHours.DeclarationSwift public init(mode: OpeningHoursMode, timeRanges: [DateInterval])Parametersmodedescribes the scope of timeRanges.timeRangesA sorted series of UTC date intervals starting from today. 
- 
                  
                  Describes the scope of timeRanges. (e.g. the.nextSevenDaysmode means thattimeRangesproperty contains the time ranges that cover only that period - 7 days starting from today in the POI local time).DeclarationSwift public let mode: OpeningHoursMode
- 
                  
                  A sorted series of UTC date intervals starting from today. To convert to a String use DateIntervalFormatterwith a corresponding timeZone.Note The sequence is sorted with the closest dates first.DeclarationSwift public let timeRanges: [DateInterval]
- 
                  
                  Defines if the POI is open at the specified date. Throws An error if the given date is out of the provided opening hours scopeDeclarationSwift public func isOpen(at date: Date) throws -> BoolParametersdatespecifies the day and time for which opening hours are checked Return Valuetrue if the POI is open at the given date, false otherwise. 
- 
                  
                  Defines the opening hours related to the specific day in the POI local time. Throws An error if the given date is out of the provided opening hours scopeDeclarationSwift public func openingHours(for date: Date) throws -> [DateInterval]Parametersdatespecified the day for which the opening hours returned. Return Valuea sorted series of date interval for the given day in the POI local time 
 
         TomTom SDK for iOS (0.53.1)
 
          TomTom SDK for iOS (0.53.1)
         OpeningHours
          OpeningHours