Function

CFDateFormatterGetLocale

Returns the locale object used to create the given date formatter object.

Declaration

CFLocaleRef CFDateFormatterGetLocale(CFDateFormatterRef formatter);

Parameters

formatter

The date formatter object to examine.

Return Value

The locale object used to create formatter. Ownership follows the The Get Rule.

See Also

Getting Information About a Date Formatter

CFDateFormatterCopyProperty

Returns a copy of a date formatter’s value for a given key.

CFDateFormatterGetDateStyle

Returns the date style used to create the given date formatter object.

CFDateFormatterGetFormat

Returns a format string for the given date formatter object.

CFDateFormatterGetTimeStyle

Returns the time style used to create the given date formatter object.