SwiftstructFindMyLocate
struct FindMyLocate.Fence.Schedule
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.CustomStringConvertible
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 6
- field
let daysOfWeek: FindMyLocate.Fence.DaysOfWeek+0x20 - field
let end: FindMyLocate.Fence.TimeOfDay+0x10 - field
let start: FindMyLocate.Fence.TimeOfDay+0x0 - field
let timeZone: Foundation.TimeZone - init
init(start: FindMyLocate.Fence.TimeOfDay, end: FindMyLocate.Fence.TimeOfDay, daysOfWeek: FindMyLocate.Fence.DaysOfWeek, timeZone: Foundation.TimeZone) -> FindMyLocate.Fence.Schedule - var
var description: String { get }
Header
struct FindMyLocate.Fence.Schedule { enum CodingKeys { case start case end case daysOfWeek case timeZone } struct Matcher { let schedule: FindMyLocate.Fence.Schedule let calendar: Foundation.Calendar init(schedule: FindMyLocate.Fence.Schedule) func doesMatchSchedule(_: Foundation.Date) -> Swift.Bool func nextStartDate(from: Foundation.Date, direction: Foundation.Calendar.SearchDirection) -> Foundation.Date func previousEndDate(from: Foundation.Date) -> Foundation.Date func previousInterval(from: Foundation.Date) -> Foundation.DateInterval func previousStartDate(from: Foundation.Date) -> Foundation.Date func nextStartOrEndDate(from: Foundation.Date) -> Foundation.Date func interval(containingDate: Foundation.Date) -> Foundation.DateInterval? static var matchingPolicy: Foundation.Calendar.MatchingPolicy { get } } let start: FindMyLocate.Fence.TimeOfDay let end: FindMyLocate.Fence.TimeOfDay let daysOfWeek: FindMyLocate.Fence.DaysOfWeek let timeZone: Foundation.TimeZone init(start: FindMyLocate.Fence.TimeOfDay, end: FindMyLocate.Fence.TimeOfDay, daysOfWeek: FindMyLocate.Fence.DaysOfWeek, timeZone: Foundation.TimeZone) var description: Swift.String { get } }