SwiftextensionUrchinKit
extension Foundation.DateInterval
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
structFoundation.DateInterval
Members 4
- func
static createMidnightInterval(for: Foundation.Date, interval: Double, timeZone: Foundation.TimeZone) -> Foundation.DateInterval - func
static createMidnightInterval(for: Foundation.Date, component: Foundation.Calendar.Component, value: Int, timeZone: Foundation.TimeZone) -> Foundation.DateInterval - func
clampedDate(for: Foundation.Date) -> Foundation.Date - var
var simpleString: String { get }
Header
extension Foundation.DateInterval { var simpleString: Swift.String { get } func clampedDate(for: Foundation.Date) -> Foundation.Date static func createMidnightInterval(for: Foundation.Date, interval: Swift.Double, timeZone: Foundation.TimeZone) -> Foundation.DateInterval static func createMidnightInterval(for: Foundation.Date, component: Foundation.Calendar.Component, value: Swift.Int, timeZone: Foundation.TimeZone) -> Foundation.DateInterval }