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.Month
The option for not including the symbol in the formatted output.
static let omitted: Date.FormatStyle.Symbol.Month
s20FoundationEssentials4DateV0A20InternationalizationE11FormatStyleV6SymbolV5MonthV7omittedAJvpZ
What are these?81131
import FoundationEssentials
import FoundationInternationalization
struct Month
struct Date
Date
represents a single point in time.
struct FormatStyle
Strategies for formatting a Date
.
struct Symbol
static var abbreviated: Date.FormatStyle.Symbol.Month { get }
Abbreviated month name. For example, “Sep”.
static var defaultDigits: Date.FormatStyle.Symbol.Month { get }
Minimum number of digits that shows the numeric month. Intended to be used in conjunction with Day.defaultDigits
. For example, 9
, 12
.
static var narrow: Date.FormatStyle.Symbol.Month { get }
Narrow month name. For example, “S”.
static var twoDigits: Date.FormatStyle.Symbol.Month { get }
2 digits, zero pad if needed. For example, 09
, 12
.
static var wide: Date.FormatStyle.Symbol.Month { get }
Wide month name. For example, “September”.