SwiftextensionUrchinKit

extension Foundation.DateInterval

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 4

  1. funcstatic createMidnightInterval(for: Foundation.Date, interval: Double, timeZone: Foundation.TimeZone) -> Foundation.DateInterval
  2. funcstatic createMidnightInterval(for: Foundation.Date, component: Foundation.Calendar.Component, value: Int, timeZone: Foundation.TimeZone) -> Foundation.DateInterval
  3. funcclampedDate(for: Foundation.Date) -> Foundation.Date
  4. varvar simpleString: String { get }
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
}