SwiftstructFoundation

struct Foundation.Date.HTTPFormatStyle

Structure

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

Members 12

  1. fieldlet componentsStyle: Foundation.DateComponents.HTTPFormatStyle+0x0
  2. funcconsuming(_: String, startingAt: String.Index, in: Range<String.Index>) throws -> (upperBound: String.Index, output: Foundation.Date)?
  3. funcformat(Foundation.Date) -> String
  4. funcparse(String) throws -> Foundation.Date
  5. initinit() -> Foundation.Date.HTTPFormatStyle
  6. typealiastypealias FormatInput = Foundation.Date
  7. typealiastypealias FormatOutput = Swift.String
  8. typealiastypealias ParseInput = Swift.String
  9. typealiastypealias ParseOutput = Foundation.Date
  10. typealiastypealias RegexOutput = Foundation.Date
  11. typealiastypealias Strategy = Foundation.Date.HTTPFormatStyle
  12. varvar parseStrategy: Foundation.Date.HTTPFormatStyle { get }
struct Foundation.Date.HTTPFormatStyle {
    enum CodingKeys {
        case componentsStyle
    }
    let componentsStyle: Foundation.DateComponents.HTTPFormatStyle

    init()

    var parseStrategy: Foundation.Date.HTTPFormatStyle {
        get
    }

    func parse(_: Swift.String) throws -> Foundation.Date
    func format(_: Foundation.Date) -> Swift.String
    func consuming(_: Swift.String, startingAt: Swift.String.Index, in: Swift.Range<Swift.String.Index>) throws -> (upperBound: Swift.String.Index, output: Foundation.Date)?
}