A locale and its definition source member contain the following
categories.
Table 34. Categories Used in a Locale
Category | Purpose |
---|---|
LC_COLLATE | Defines the collation relations among the characters. Affects the behavior of the collating functions strcoll(), strxfrm(), wcscoll() and wcsxfrm(). |
LC_CTYPE | Defines character types, such as upper-case, lower-case, space, digit, and punctuation. Affects the behavior of character handling functions. |
LC_MESSAGES | Defines the format and values for responses from the application. |
LC_MONETARY | Defines the monetary names, symbols, punctuation, and other details. Affects monetary information returned by localeconv(). |
LC_NUMERIC | Defines the decimal-point (radix) character for the formatted input/output and string conversion functions, and the non-monetary formatting information returned by localeconv(). |
LC_TIME | Defines the date and time conventions, such as calendar used, time zone, and days of the week. Affects the behavior of time display functions. |
LC_TOD | Defines time zone difference, time zone name, and Daylight Savings Time start and end. |
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.