Type PropertyFoundationInternationalization
defaultDigitsNoAMPM
iOS 15.0+
iPadOS 15.0+
Mac Catalyst 15.0+
macOS 12.0+
tvOS 15.0+
watchOS 8.0+
Custom format style portraying the minimum number of digits that represents the numeric hour.
static var defaultDigitsNoAMPM: Date.FormatStyle.Symbol.Hour { get }
Discussion
This style doesn’t include the day period symbol (a.m. or p.m.). For example, 1, 11.