Static Propertyswift 6.0.3FoundationInternationalization->FoundationEssentials
omitted
The option for not including the symbol in the formatted output.
- iOS
- 16.4+
- macOS
- 13.3+
- tvOS
- 16.4+
- watchOS
- 9.4+
static let omitted: Date.FormatStyle.Symbol.Era
The option for not including the symbol in the formatted output.
static let omitted: Date.FormatStyle.Symbol.Era
s20FoundationEssentials4DateV0A20InternationalizationE11FormatStyleV6SymbolV3EraV7omittedAJvpZ
What are these?1LUH3
import FoundationEssentials
import FoundationInternationalization
struct Era
struct Date
Date
represents a single point in time.
struct FormatStyle
Strategies for formatting a Date
.
struct Symbol
static var abbreviated: Date.FormatStyle.Symbol.Era { get }
Abbreviated Era name. For example, “AD”, “Reiwa”, “令和”.
static var narrow: Date.FormatStyle.Symbol.Era { get }
Narrow era name. For example, For example, “A”, “R”, “R”.
static var wide: Date.FormatStyle.Symbol.Era { get }
Wide era name. For example, “Anno Domini”, “Reiwa”, “令和”.