SwiftstructSwiftUICore

struct SwiftUI.SystemFormatStyle.DateOffset

Structure

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

Members 22

  1. funcstatic representation<A where A: SwiftUI.TimeDataSourceStorage, A.Value == Foundation.Date>(of: SwiftUI.TimeDataFormatting.Resolvable<A, SwiftUI.SystemFormatStyle.DateOffset>, for: SwiftUI.ArchivedViewInput.DeploymentVersion) -> SwiftUI.ResolvableStringAttributeRepresentation
  2. fieldvar allowedFields: Set<Foundation.Date.ComponentsFormatStyle.Field>
  3. fieldvar anchor: Foundation.Date
  4. fieldvar calendar: Foundation.Calendar
  5. fieldvar forceUnitsAoDStyle: Bool
  6. fieldvar locale: Foundation.Locale
  7. fieldvar maxFieldCount: Int
  8. fieldvar sign: Foundation.NumberFormatStyleConfiguration.SignDisplayStrategy
  9. fieldvar sizeVariant: SwiftUI.TextSizeVariant
  10. fieldvar updateFrequency: SwiftUI.TimeDataFormatting.UpdateFrequency
  11. fieldvar watchIdiom: Bool
  12. funccalendar(Foundation.Calendar) -> SwiftUI.SystemFormatStyle.DateOffset
  13. funcdiscreteInput(after: Foundation.Date) -> Foundation.Date?
  14. funcdiscreteInput(before: Foundation.Date) -> Foundation.Date?
  15. funcformat(Foundation.Date) -> Foundation.AttributedString
  16. funcinput(after: Foundation.Date) -> Foundation.Date?
  17. funcinput(before: Foundation.Date) -> Foundation.Date?
  18. funclocale(Foundation.Locale) -> SwiftUI.SystemFormatStyle.DateOffset
  19. funcupdateFrequency(SwiftUI.TimeDataFormatting.UpdateFrequency) -> SwiftUI.SystemFormatStyle.DateOffset
  20. initinit(to: Foundation.Date, allowedFields: Set<Foundation.Date.ComponentsFormatStyle.Field>, maxFieldCount: Int, sign: Foundation.NumberFormatStyleConfiguration.SignDisplayStrategy) -> SwiftUI.SystemFormatStyle.DateOffset
  21. typealiastypealias FormatInput = Foundation.Date
  22. typealiastypealias FormatOutput = Foundation.AttributedString
struct SwiftUI.SystemFormatStyle.DateOffset {
    enum CodingKeys {
        case anchor
        case allowedFields
        case maxFieldCount
        case sign
        case sizeVariant
        case locale
        case calendar
        case updateFrequency
        case watchIdiom
        case forceUnitsAoDStyle
    }
    var anchor: Foundation.Date
    var allowedFields: Swift.Set<Foundation.Date.ComponentsFormatStyle.Field>
    var maxFieldCount: Swift.Int
    var sign: Foundation.NumberFormatStyleConfiguration.SignDisplayStrategy
    var sizeVariant: SwiftUI.TextSizeVariant
    var locale: Foundation.Locale
    var calendar: Foundation.Calendar
    var updateFrequency: SwiftUI.TimeDataFormatting.UpdateFrequency
    var watchIdiom: Swift.Bool
    var forceUnitsAoDStyle: Swift.Bool

    init(to: Foundation.Date, allowedFields: Swift.Set<Foundation.Date.ComponentsFormatStyle.Field>, maxFieldCount: Swift.Int, sign: Foundation.NumberFormatStyleConfiguration.SignDisplayStrategy)

    func discreteInput(after: Foundation.Date) -> Foundation.Date?
    func discreteInput(before: Foundation.Date) -> Foundation.Date?
    func updateFrequency(_: SwiftUI.TimeDataFormatting.UpdateFrequency) -> SwiftUI.SystemFormatStyle.DateOffset
    func input(after: Foundation.Date) -> Foundation.Date?
    func input(before: Foundation.Date) -> Foundation.Date?
    func format(_: Foundation.Date) -> Foundation.AttributedString
    func locale(_: Foundation.Locale) -> SwiftUI.SystemFormatStyle.DateOffset
    func calendar(_: Foundation.Calendar) -> SwiftUI.SystemFormatStyle.DateOffset

    static func representation<A>(of: SwiftUI.TimeDataFormatting.Resolvable<A, SwiftUI.SystemFormatStyle.DateOffset>, for: SwiftUI.ArchivedViewInput.DeploymentVersion) -> any SwiftUI.ResolvableStringAttributeRepresentation where A: SwiftUI.TimeDataSourceStorage, A.Value == Foundation.Date
}