HP-UX Reference (11i v1 05/09) - 4 File Formats (vol 8)

l
localedef(4) localedef(4)
t_fmt_ampm The operand is a string defining the appropriate time representation in the 12-
hour clock format with am_pm.
era The operand is a semi-colon-separated list of strings. Each string defines the
name and date of an era or emperor for a locale. Each string should conform to
the following format:
direction : offset : start_date : end_date : name : format
where:
direction Either a
+ or - character. The
+ character indicates the
time axis should be such that the years count in the positive
direction when moving from the starting date towards the end-
ing date. The
- character indicates the time axis should be
such that the years count in the negative direction when mov-
ing from the starting date towards the ending date.
offset A number in the range [SHRT_MIN,SHRT_MAX]
indicating
the number of the first year of the era.
start_date A date in the form yyyy
/mm/dd where yyyy, mm, and dd are
the year, month and day numbers, respectively, of the start of
the era. Years prior to the year 0
A.D. are represented as
negative numbers. For example, an era beginning March 5th
in the year 100 B.C. would be represented as 3-100/3/5 .
Years in the range [SHRT_MIN+1,SHRT_MAX-1]
are sup-
ported.
end_date The ending date of the era in the same form as the start_date
above or one of the two special values
-* or +*. A value of
-* indicates the ending date of the era extends to the begin-
ning of time while +* indicates it extends to the end of time.
The ending date can be chronologically either before or after
the starting date of an era. For example, the expressions for
the Christian eras A.D. and B.C. would be:
+:0:0000/01/01:+:A.D.:%o %N
+:1:-0001/12/31:-:B.C.:%o %N
name A string representing the name of the era which is substituted
for the %N directive of date and strftime() (see date(1)
and strftime(3C)).
format A string for formatting the %E directive of date(1) and
strftime(3C). This string is usually a function of the %o and
%N directives. If format is not specified, the string specified
for the LC_TIME category keyword era_d_fmt (see below)
is used as a default.
era_d_fmt The operand is a string defining the format of date in era notation.
era_t_fmt The operand is a string defining the format of time in era notation.
era_d_t_fmt
The operand is a string defining the format of date and time in era notation.
alt_digits The operand is a semi-colon-separated list of strings. The first string is the alter-
native symbol corresponding to zero, the second string is the alternative symbol
corresponding to one, and so on. Note that if the HP-UX-proprietary
alt_digit keyword has been specified in the same locale, the first ten sym-
bols should be identical for these two keywords.
In addition to the above, the following HP-UX-proprietary keywords are recognized (these are pro-
vided for backward compatibility and their use is otherwise not recommended):
year_unit,
mon_unit, day_unit, rour_unit, min_unit, sec_unit.
LC_MESSAGES :
The LC_MESSAGES category defines the format and values for affirmative and negative responses.
The following keywords belong to this category and should come between the category tag
HP-UX 11i Version 1: September 2005 5 Hewlett-Packard Company Section 4159