CFDateFormatterSetFormat(_:_:)
Sets the format string of the given date formatter to the specified value.
Declaration
func CFDateFormatterSetFormat(_ formatter: CFDateFormatter!, _ formatString: CFString!)Parameters
- formatter:
The date formatter to modify.
- formatString:
The format string for
formatter. The syntax of this string is defined by Tr35 Dates.html#Date Format Patterns..
Discussion
The format string may override other properties previously set using other functions. If this function is not called, the default value of the format string is derived from the date formatter’s date and time styles.