SwiftstructFoundation

struct Foundation.Date.VerbatimFormatStyle

Structure

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

Members 19

  1. fieldvar calendar: Foundation.Calendar+0x10
  2. fieldvar formatPattern: String+0x30
  3. fieldvar locale: Foundation.Locale?+0x20
  4. fieldvar timeZone: Foundation.TimeZone+0x0
  5. funcconsuming(_: String, startingAt: String.Index, in: Range<String.Index>) throws -> (upperBound: String.Index, output: Foundation.Date)?
  6. funcdiscreteInput(after: Foundation.Date) -> Foundation.Date?
  7. funcdiscreteInput(before: Foundation.Date) -> Foundation.Date?
  8. funcformat(Foundation.Date) -> String
  9. funcinput(after: Foundation.Date) -> Foundation.Date?
  10. funcinput(before: Foundation.Date) -> Foundation.Date?
  11. funclocale(Foundation.Locale) -> Foundation.Date.VerbatimFormatStyle
  12. initinit(format: Foundation.Date.FormatString, locale: Foundation.Locale?, timeZone: Foundation.TimeZone, calendar: Foundation.Calendar) -> Foundation.Date.VerbatimFormatStyle
  13. typealiastypealias FormatInput = Foundation.Date
  14. typealiastypealias FormatOutput = Swift.String
  15. typealiastypealias RegexOutput = Foundation.Date
  16. typealiastypealias Strategy = Foundation.Date.ParseStrategy
  17. varvar attributed: Foundation.Date.AttributedStyle { get }
  18. varvar attributedStyle: Foundation.Date.VerbatimFormatStyle.Attributed { get }
  19. varvar parseStrategy: Foundation.Date.ParseStrategy { get }
struct Foundation.Date.VerbatimFormatStyle {
    @dynamicMemberLookup
    struct Attributed {
        enum CodingKeys {
            case base
        }
        var base: Foundation.Date.VerbatimFormatStyle

        func discreteInput(after: Foundation.Date) -> Foundation.Date?
        func discreteInput(before: Foundation.Date) -> Foundation.Date?
        func input(after: Foundation.Date) -> Foundation.Date?
        func input(before: Foundation.Date) -> Foundation.Date?
        func format(_: Foundation.Date) -> Foundation.AttributedString
        func locale(_: Foundation.Locale) -> Foundation.Date.VerbatimFormatStyle.Attributed

        subscript<A>(dynamicMember: Swift.WritableKeyPath<Foundation.Date.VerbatimFormatStyle, A>) -> A {
            get
            set
        }
        subscript<A>(dynamicMember: Swift.KeyPath<Foundation.Date.VerbatimFormatStyle, A>) -> A {
            get
        }
    }
    enum CodingKeys {
        case timeZone
        case calendar
        case locale
        case formatPattern
    }
    var timeZone: Foundation.TimeZone
    var calendar: Foundation.Calendar
    var locale: Foundation.Locale?
    var formatPattern: Swift.String

    init(format: Foundation.Date.FormatString, locale: Foundation.Locale?, timeZone: Foundation.TimeZone, calendar: Foundation.Calendar)

    var attributed: Foundation.Date.AttributedStyle {
        get
    }
    var attributedStyle: Foundation.Date.VerbatimFormatStyle.Attributed {
        get
    }
    var parseStrategy: Foundation.Date.ParseStrategy {
        get
    }

    func discreteInput(after: Foundation.Date) -> Foundation.Date?
    func discreteInput(before: Foundation.Date) -> Foundation.Date?
    func input(after: Foundation.Date) -> Foundation.Date?
    func input(before: Foundation.Date) -> Foundation.Date?
    func format(_: Foundation.Date) -> Swift.String
    func locale(_: Foundation.Locale) -> Foundation.Date.VerbatimFormatStyle
    func consuming(_: Swift.String, startingAt: Swift.String.Index, in: Swift.Range<Swift.String.Index>) throws -> (upperBound: Swift.String.Index, output: Foundation.Date)?
}