Time Zone Name Styles

Constants to specify styles for time zone names.

Declaration

typedef enum : CFIndex {
   kCFTimeZoneNameStyleStandard,
   kCFTimeZoneNameStyleShortStandard,
   kCFTimeZoneNameStyleDaylightSaving,
   kCFTimeZoneNameStyleShortDaylightSaving,
   kCFTimeZoneNameStyleGeneric,
   kCFTimeZoneNameStyleShortGeneric
} CFTimeZoneNameStyle;

Overview

These constants are used with the function CFTimeZoneCopyLocalizedName.

Topics

Constants

kCFTimeZoneNameStyleStandard

Specifies the standard name style; for example, “Central Standard Time” for the Central time zone.

kCFTimeZoneNameStyleShortStandard

Specifies the short standard name style; for example, “CST” for the Central time zone.

kCFTimeZoneNameStyleDaylightSaving

Specifies the daylight saving name style; for example, “Central Daylight Time” for the Central time zone.

kCFTimeZoneNameStyleShortDaylightSaving

Specifies the short daylight saving name style; for example, “CDT” for the Central time zone.

kCFTimeZoneNameStyleGeneric

Specifies the generic name style, which does not distinguish between daylight saving and standard time; for example, “Central Time” for the Central time zone.

kCFTimeZoneNameStyleShortGeneric

Specifies the short generic name style, which does not distinguish between daylight saving and standard time; for example, “CT” for the Central time zone.