SwiftstructFoundation
HTTPFormatStyle
struct Foundation.Date.HTTPFormatStyle
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolFoundation.FormatStyle
- protocolFoundation.ParseStrategy
- protocolFoundation.ParseableFormatStyle
- protocolSwift.Decodable
- protocolSwift.Encodable
- protocolSwift.Equatable
- protocolSwift.Hashable
- protocol_StringProcessing.RegexComponent
Members 12
- field
let componentsStyle: Foundation.DateComponents.HTTPFormatStyle+0x0 - func
consuming(_: String, startingAt: String.Index, in: Range<String.Index>) throws -> (upperBound: String.Index, output: Foundation.Date)? - func
format(Foundation.Date) -> String - func
parse(String) throws -> Foundation.Date - init
init() -> Foundation.Date.HTTPFormatStyle - typealias
typealias FormatInput = Foundation.Date - typealias
typealias FormatOutput = Swift.String - typealias
typealias ParseInput = Swift.String - typealias
typealias ParseOutput = Foundation.Date - typealias
typealias RegexOutput = Foundation.Date - typealias
typealias Strategy = Foundation.Date.HTTPFormatStyle - var
var parseStrategy: Foundation.Date.HTTPFormatStyle { get }
Header
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)? }