Static Propertyswift 6.0.3FoundationInternationalization->FoundationEssentials
narrow
Narrow cyclic year name. For example, “甲子”.
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
static var narrow: Date.FormatStyle.Symbol.CyclicYear { get }
Narrow cyclic year name. For example, “甲子”.
static var narrow: Date.FormatStyle.Symbol.CyclicYear { get }
s20FoundationEssentials4DateV0A20InternationalizationE11FormatStyleV6SymbolV10CyclicYearV6narrowAJvpZ
What are these?72EC9
import FoundationEssentials
import FoundationInternationalization
struct CyclicYear
struct Date
Date
represents a single point in time.
struct FormatStyle
Strategies for formatting a Date
.
struct Symbol
static var abbreviated: Date.FormatStyle.Symbol.CyclicYear { get }
Abbreviated cyclic year name. For example, “甲子”.
static let omitted: Date.FormatStyle.Symbol.CyclicYear
The option for not including the symbol in the formatted output.
static var wide: Date.FormatStyle.Symbol.CyclicYear { get }
Wide cyclic year name. For example, “甲子”.