era(_:)
Change the representation of the era in the format.
Declaration
func era(_ format: Date.FormatStyle.Symbol.Era = .abbreviated) -> Date.FormatStyle.AttributedParameters
- format:
Set the symbol representation or pass
nilto remove it.
Change the representation of the era in the format.
func era(_ format: Date.FormatStyle.Symbol.Era = .abbreviated) -> Date.FormatStyle.AttributedSet the symbol representation or pass nil to remove it.