CPCCalendarUnitSymbolImpl
internal protocol CPCCalendarUnitSymbolImpl : CPCCalendarUnit, CPCCalendarUnitSymbol
Common implementation of CPCCalendarUnitSymbol
requirements.
-
KeyPaths of a
Calendar
instance that should be used to retrieve non-standalone symbols.Declaration
Swift
static var symbolKeyPaths: [Style : KeyPath<Calendar, [String]>] { get }
-
KeyPaths of a
Calendar
instance that should be used to retrieve standalone symbols.Declaration
Swift
static var standaloneSymbolKeyPaths: [Style : KeyPath<Calendar, [String]>] { get }
-
Index that should be used to fetch a localized symbol.
Declaration
Swift
var unitOrdinalValue: Int { get }
-
symbol(style:standalone:)
Extension methodDeclaration
Swift
public func symbol(style: Style, standalone: Bool) -> String