conversationalDefaultDigits(amPM:)
Custom format style portraying the minimum number of digits that represents the hour and locale-dependent conversational day period formats.
Declaration
static func conversationalDefaultDigits(amPM: Date.FormatStyle.Symbol.Hour.AMPMStyle) -> Date.FormatStyle.Symbol.HourParameters
- amPM:
Specifies the format of the day period representation.
Return Value
An hour format style customized according to the specified day period format style and the given locale.
Discussion
This format may include the day period symbol (a.m. or p.m.), depending on locale, and can include conversational period formats. For example, 7a (narrow), 7AM (abbreviated), 7A.M. (wide).