twoDigitsNoAMPM
This declaration has been renamed to Date.FormatStyle.Symbol.Hour.twoDigits(amPM:).
This declaration is deprecated.
static var twoDigitsNoAMPM: Date.FormatStyle.Symbol.Hour { get }
This declaration has been renamed to Date.FormatStyle.Symbol.Hour.twoDigits(amPM:).
This declaration is deprecated.
static var twoDigitsNoAMPM: Date.FormatStyle.Symbol.Hour { get }
s20FoundationEssentials4DateV0A20InternationalizationE11FormatStyleV6SymbolV4HourV15twoDigitsNoAMPMAJvpZ
What are these?3RFEJ
import FoundationEssentials
import FoundationInternationalization
struct Hour
struct Date
Date
represents a single point in time.
struct FormatStyle
Strategies for formatting a Date
.
struct Symbol
static func twoDigits(amPM: Date.FormatStyle.Symbol.Hour.AMPMStyle) -> Date.FormatStyle.Symbol.Hour
The preferred two-digit hour format for the locale, zero padded if necessary. Whether the period symbol (AM/PM) will be shown depends on the locale.
static let omitted: Date.FormatStyle.Symbol.Hour
The option for not including the symbol in the formatted output.
static func conversationalDefaultDigits(amPM: Date.FormatStyle.Symbol.Hour.AMPMStyle) -> Date.FormatStyle.Symbol.Hour
Behaves like defaultDigits
: the preferred numeric hour format for the locale with minimum digits. May also use conversational period formats.
static func conversationalTwoDigits(amPM: Date.FormatStyle.Symbol.Hour.AMPMStyle) -> Date.FormatStyle.Symbol.Hour
Behaves like twoDigits
: two-digit hour format for the locale, zero padded if necessary. May also use conversational period formats.
static func defaultDigits(amPM: Date.FormatStyle.Symbol.Hour.AMPMStyle) -> Date.FormatStyle.Symbol.Hour
The preferred numeric hour format for the locale with minimum digits. Whether the period symbol (AM/PM) will be shown depends on the locale.
struct AMPMStyle
static var defaultDigitsNoAMPM: Date.FormatStyle.Symbol.Hour { get }