EnumerationFoundationInternationalization
Date.FormatStyle.Symbol.DayPeriod.Width
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
A type representing the width of a day period in a format style.
enum Width
Overview
The possible values of a width are Date.FormatStyle.Symbol.DayPeriod.Width.abbreviated, Date.FormatStyle.Symbol.DayPeriod.Width.narrow, and Date.FormatStyle.Symbol.DayPeriod.Width.wide.
Topics
Enumeration Cases
case abbreviatedA shortened day period width representation.case narrowThe shortest day period width representation.case wideA full day period width representation.
Relationships
Conforms To
Swift.EquatableSwift.HashableSwift.SendableSwift.SendableMetatype