ProviderTimeSlot
public struct ProviderTimeSlot : Equatable, Codable
Represents a grouping of time slots for a particular Provider
-
The national identifer for this Provider
Declaration
Swift
public let providerNationalId: String -
Time slots starting after this Date/Time are included in the list of ScheduleDays
Important
This will return with GMT:0 for the timezone. You can effectively ignore time + timezoneDeclaration
Swift
public let startDate: Date -
Time slots starting before this Date/Time are included in the list of ScheduleDays
Important
This will return with GMT:0 for the timezone. You can effectively ignore time + timezoneDeclaration
Swift
public let endDate: Date -
The timezone of the Provider TimeSlot.
Declaration
Swift
public let timezoneString: String -
An array of ScheduleDay objects, each representing all time slots for a particular day
Declaration
Swift
public let scheduleDays: [ScheduleDay] -
A convenience
TimeZonecomputed variable initalized with thetimezonestring property.Declaration
Swift
public var timeZone: TimeZone? { get } -
Undocumented
Declaration
Swift
public init( providerNationalId: String, startDate: Date, endDate: Date, timezoneString: String, scheduleDays: [ScheduleDay] ) -
An internal decoder to handle dates.
Declaration
Swift
public init(from decoder: Decoder) throws
View on GitHub
Install in Dash
ProviderTimeSlot Structure Reference