Date Formatter Property Keys

Keys used in key-value pairs to discover and specify the value of date formatter properties—used in conjunction with CFDateFormatterCopyProperty and CFDateFormatterSetProperty.

Overview

The values for these keys are all CFType objects. The specific types for each key are specified above.

Topics

Constants

kCFDateFormatterIsLenient

Specifies the lenient property, a CFBoolean object where a true value indicates that the parsing of strings into date or absolute time values will be fuzzy.

kCFDateFormatterTimeZone

Specifies the time zone property, a CFTimeZone object.

kCFDateFormatterCalendarName

Specifies the calendar name, a CFString object.

kCFDateFormatterDefaultFormat

The original format string for the formatter (given the date & time style and locale specified at creation).

kCFDateFormatterTwoDigitStartDate

Specifies the property representing the date from which two-digit years start, a CFDate object.

kCFDateFormatterDefaultDate

Specifies the default date property, a CFDate object.

kCFDateFormatterCalendar

Specifies the calendar property, a CFCalendar object.

kCFDateFormatterEraSymbols

Specifies the era symbols property, a CFArray of CFString objects.

kCFDateFormatterMonthSymbols

Specifies the month symbols property, a CFArray of CFString objects.

kCFDateFormatterShortMonthSymbols

Specifies the short month symbols property, a CFArray of CFString objects.

kCFDateFormatterWeekdaySymbols

Specifies the weekday symbols property, a CFArray of CFString objects.

kCFDateFormatterShortWeekdaySymbols

Specifies the short weekday symbols property, a CFArray of CFString objects.

kCFDateFormatterAMSymbol

Specifies the AM symbol property, a CFString object.

kCFDateFormatterPMSymbol

Specifies the PM symbol property, a CFString object.

kCFDateFormatterLongEraSymbols

Specifies the long era symbols property, a CFArray of CFString objects.

kCFDateFormatterVeryShortMonthSymbols

Specifies the very short month symbols property, a CFArray of CFString objects.

kCFDateFormatterStandaloneMonthSymbols

Specifies the standalone month symbols property, a CFArray of CFString objects.

kCFDateFormatterShortStandaloneMonthSymbols

Specifies the short standalone month symbols property, a CFArray of CFString objects.

kCFDateFormatterVeryShortStandaloneMonthSymbols

Specifies the very short standalone month symbols property, a CFArray of CFString objects.

kCFDateFormatterVeryShortWeekdaySymbols

Specifies the very short weekday symbols property, a CFArray of CFString objects.

kCFDateFormatterStandaloneWeekdaySymbols

Specifies the standalone weekday symbols property, a CFArray of CFString objects.

kCFDateFormatterShortStandaloneWeekdaySymbols

Specifies the short standalone weekday symbols property, a CFArray of CFString objects.

kCFDateFormatterVeryShortStandaloneWeekdaySymbols

Specifies the very short standalone weekday symbols property, a CFArray of CFString objects.

kCFDateFormatterQuarterSymbols

Specifies the quarter symbols property, a CFArray of CFString objects.

kCFDateFormatterShortQuarterSymbols

Specifies the short quarter symbols property, a CFArray of CFString objects.

kCFDateFormatterStandaloneQuarterSymbols

Specifies the standalone quarter symbols property, a CFArray of CFString objects.

kCFDateFormatterShortStandaloneQuarterSymbols

Specifies the short standalone quarter symbols property, a CFArray of CFString objects.

kCFDateFormatterGregorianStartDate

Specifies the Gregorian start date property, a CFDate object.

kCFDateFormatterDoesRelativeDateFormattingKey

Specifies the relative date formatting property, a CFBoolean object.