Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)

locale(4) OSS Shell and Utilities Reference Manual
d_fmt Denes the string used for the standard date format corresponding to the
%x eld
descriptor. The string can contain any combination of characters and eld descriptors.
t_fmt Denes the string used for the standard time format corresponding to the
%X eld
descriptor. The string can contain any combination of characters and eld descriptors.
am_pm Denes the strings used to represent a.m. (before noon) and p.m. (after noon)
corresponding to the %p eld descriptor. Recognized values consist of two
semicolon-separated strings. The
rst string corresponds to the a.m. designation, the
last string to the p.m. designation.
t_fmt_ampm
Denes the string used for the standard 12-hour time format that includes an am_pm
value (%p eld descriptor). This statement corresponds to the %r eld descriptor.
The string can contain any combination of characters and eld descriptors.
era Denes how the years are counted and displayed for each era in a locale, correspond-
ing to the %E eld descriptor modier. For each era, there must be one string in the
following format:
direction:offset:start_date:end_date:name:format
The variables for the era string format are dened as follows:
direction Species a - (minus) or + (plus) character. The + character indicates that
years count in the positive direction when moving from the start date to the
end date. The - character indicates that years count in the negative direction
when moving from the start date to the end date.
offset Species a number representing the rst year of the era.
start_date
Species the starting date of the era in yyyy/mm/dd format, where yyyy, mm,
and dd are the year, month, and day, respectively on the Gregorian calendar.
Years prior to the year AD 1 are represented as negative numbers. For exam-
ple, an era beginning March 5th in the year 100 BC would be represented as
-100/03/05.
end_date Species the ending date of the era in the same form used for the start_date
variable or one of the two special values -* or +*.A-* value indicates that
the ending date of the era extends backward to the beginning of time. A +*
value indicates that the ending date of the era extends forward to the end of
time. Therefore, the ending date can be chronologically before or after the
starting date of the era. For example, the strings for the Christian eras AD
and BC would be entered as follows:
+:0:0000/01/01:+*:AD:%o %N
+:1:-0001/12/31:-*:BC:%o %N
name Species a string representing the name of the era that is substituted for the
%N eld descriptor.
format Species a strftime() format string to use when formatting the %EY eld
descriptor. This string can contain any strftime() format control charac-
ters (except %EY) and locale-dependent multibyte characters.
An era value consists of one string (enclosed in quotes) for each era. If more than one
era is specied, each era string is separated by a ; (semicolon).
1124 Hewlett-Packard Company 527188-007