Enumeration

CFDateFormatterStyle

Data type for predefined date and time format styles.

Declaration

typedef enum CFDateFormatterStyle : CFIndex {
    ...
} CFDateFormatterStyle;

Overview

For possible values, see Date Formatter Styles.

Topics

Enumeration Cases

kCFDateFormatterFullStyle

Specifies a full style with complete details, such as “Tuesday, April 12, 1952 AD” or “3:30:42pm PST”.

kCFDateFormatterLongStyle

Specifies a long style, typically with full text, such as “November 23, 1937” or “3:30:32pm”.

kCFDateFormatterMediumStyle

Specifies a medium style, typically with abbreviated text, such as “Nov 23, 1937”.

kCFDateFormatterNoStyle

Specifies no output.

kCFDateFormatterShortStyle

Specifies a short style, typically numeric only, such as “11/23/37” or “3:30pm”.