Subject: japanese xopen locale with general charnames

From: Keld J|rn Simonsen <[email-masked]>
Date: Thu, 6 Dec 90 01:05:45 +0100

I have modified the xopen japanese locale to use names in the form of <j1234>
giving the decimal row and columns of X0208. Also I changed the date formats
to follow ISO rules (yyyy-mm-dd instead of yyyy/mm/dd). here it is:

# Date: Mon, 26 Nov 90 03:01:02 GMT
# From: Masahiro SEKIGUCHI <[email-masked]>
# > If Sekiguchi-san also agrees,
# > I'd like to get an electronic version for forwarding to RIN.
# > 
# > Donn Terry
# 
# The following is the latest version of it, i.e., XoTGinter
# seq 1126 + seq 1395 patch.  (I guess your own paper copy is
# different from the following...)
# 
# Please feel free forwarding it to the RIN list.  Any comments
# are welcomed.
# 
# Thank you.
# 
# 	Masahiro Sekiguchi, Fujits.
# 
# Sample locale definition file for Japanese.
# Based on POSIX.2 D10 syntax with X/Open extension.
#
# NOTES FOR READERS
#
# ``Japanese character set'' in this exsample consists of:
#	128 characters in JIS X0201 (i.e. Japanese version of ISO 646).
#	8836 characters in JIS X0208 (so-called JIS Kanji).
# Implementations may contain more characters to support
# Japanese.
#
# Note that our ``character set'' includes undefined code points
# of JIS X0208.
#
# The names for JIS Kanji used here are just enough to identify
# the above character set.  Kanji are given names based on their
# code value written in hexadecimal.  Users may require more
# general notation to represent all supported characters in
# portable manner.
#
# This definition implicitly assume that underlying encoding
# is UJIS (EUC-JIS) or similar one.  (Although characters in
# G2 and G3 are completely ignored.)  The definition may not
# work if the systems uses other encoding.

# Notes on LC_CTYPE:
#	Characters from JIS X0208 are included in appropriate
#	classes as well as ASCII characters. (I.e., portable
#	characters of POSIX.2.)  All Kanji (i.e., ideographic
#	characters in JIS X0208) are classified to alpha but
#	punct.
#	Undefined code points are not included in any classes,
#	because they are not printable characters nor control
#	characters.

escape_char /

LC_CTYPE

# Upper and lower consist of:
#	alphabets in portable character set,
#	Roman letters in JIS X0208,
#	Greek letters in JIS X0208 and
#	Russian letters in JIS X0208.

upper	<A>;<B>;<C>;<D>;<E>;<F>;<G>;<H>;<I>;<J>;<K>;<L>;<M>;/
	<N>;<O>;<P>;<Q>;<R>;<S>;<T>;<U>;<V>;<W>;<X>;<Y>;<Z>;/
	<j0333>;...;<j0358>;/
	<j0601>;...;<j0624>;/
	<j0701>;...;<j0733>

lower	<a>;<b>;<c>;<d>;<e>;<f>;<g>;<h>;<i>;<j>;<k>;<l>;<m>;/
	<n>;<o>;<p>;<q>;<r>;<s>;<t>;<u>;<v>;<w>;<x>;<y>;<z>;/
	<j0365>;...;<j0390>;/
	<j0633>;...;<j0656>;/
	<j0749>;...;<j0781>

# Digit and xdigit contains ASCII characters only, as required
# in the standard.

digit	<zero>;<one>;<two>;<three>;<four>;/
	<five>;<six>;<seven>;<eight>;<nine>

xdigit	<zero>;<one>;<two>;<three>;<four>;/
	<five>;<six>;<seven>;<eight>;<nine>;/
	<A>;<B>;<C>;<D>;<E>;<F>;/
	<a>;<b>;<c>;<d>;<e>;<f>

# JIS X0208 contains a ``Kanji space'' character.
# It is recognized as a ``locale specific white-space
# character.''

space	<tab>;<newline>;<vertical-tab>;<form-feed>;/
	<carriage-return>;<space>;/
	<j0101>

# Cntrl defined here is exactly the same as one defined in
# POSIX.2 D10.  No locale specific characters are added.

cntrl	<alert>;<backspace>;<tab>;<newline>;<vertical-tab>;/
	<form-feed>;<carriage-return>;/
	<NUL>;<SOH>;<STX>;<ETX>;<EOT>;<ENQ>;<ACK>;<SO>;/
	<SI>;<DLE>;<DC1>;<DC2>;<DC3>;<DC4>;<NAK>;<SYN>;/
	<ETB>;<CAN>;<EM>;<SUB>;<ESC>;<IS4>;<IS3>;<IS2>;/
	<IS1>;<DEL>

# Alpha class consists of all characters in upper and lower,
# and:
#	Hiragana in JIS X0208,
#	Katakana in JIS X0208 and
#	Kanji of level 1 and 2 in JIS X0208.
#
# Please make sure that the characters specified as upper or
# lower are automatically included in alpha.

alpha	<j0401>;...;<j0483>;/
	<j0501>;...;<j0586>;/
	<j1601>;...;<j1694>;<j1701>;...;<j1794>;<j1801>;...;<j1894>;/
	<j1901>;...;<j1994>;<j2001>;...;<j2094>;<j2101>;...;<j2194>;/
	<j2201>;...;<j2294>;<j2301>;...;<j2394>;<j2401>;...;<j2494>;/
	<j2501>;...;<j2594>;<j2601>;...;<j2694>;<j2701>;...;<j2794>;/
	<j2801>;...;<j2894>;<j2901>;...;<j2994>;<j3001>;...;<j3094>;/
	<j3101>;...;<j3194>;<j3201>;...;<j3294>;<j3301>;...;<j3394>;/
	<j3401>;...;<j3494>;<j3501>;...;<j3594>;<j3601>;...;<j3694>;/
	<j3701>;...;<j3794>;<j3801>;...;<j3894>;<j3901>;...;<j3994>;/
	<j4001>;...;<j4094>;<j4101>;...;<j4194>;<j4201>;...;<j4294>;/
	<j4301>;...;<j4394>;<j4401>;...;<j4494>;<j4501>;...;<j4594>;/
	<j4601>;...;<j4694>;<j4701>;...;<j4751>;/
	<j4801>;...;<j4894>;<j4901>;...;<j4994>;<j5001>;...;<j5094>;/
	<j5101>;...;<j5194>;<j5201>;...;<j5294>;<j5301>;...;<j5394>;/
	<j5401>;...;<j5494>;<j5501>;...;<j5594>;<j5601>;...;<j5694>;/
	<j5701>;...;<j5794>;<j5801>;...;<j5894>;<j5901>;...;<j5994>;/
	<j6001>;...;<j6094>;<j6101>;...;<j6194>;<j6201>;...;<j6294>;/
	<j6301>;...;<j6394>;<j6401>;...;<j6494>;<j6501>;...;<j6594>;/
	<j6601>;...;<j6694>;<j6701>;...;<j6794>;<j6801>;...;<j6806>

# Punct contains all other printable characters, i.e.:
#	symbols in portable character set,
#	special characters in JIS X0208,
#	ruled line elements in JIS X0208.

punct	<exclamation-mark>;<quotation-mark>;<number-sign>;/
	<dollar-sign>;<percent>;<ampersand>;<apostrophe>;/
	<left-parenthesis>;<right-parenthesis>;<asterisk>;/
	<plus-sign>;<comma>;<hypen>;<period>;<slash>;/
	<colon>;<semicolon>;<less-than>;<equals-sign>;/
	<greater-than>;<question-mark>;<commercial-at>;/
	<left-bracket>;<backslash>;<right-bracket>;/
	<circumflex>;<underscore>;<grave-accent>;/
	<left-brace>;<vertical-line>;<right-brace>;<tilde>;/
	<j0102>;...;<j0194>;<j0201>;...;<j0214>;<j0226>;...;<j0233>;/
	<j0242>;...;<j0248>;<j0260>;...;<j0274>;<j0282>;...;<j0289>;/
	<j0294>;/
	<j0801>;...;<j0832>

# Alnum, graph and print are not defined here.  They will
# be supplied by localedef command.

# blank is same as C locale.
blank	<space>;<tab>

# Toupper and tolower handle characters in JIS X0208 as well.

toupper	(<a>,<A>);(<b>,<B>);(<c>,<C>);(<d>,<D>);(<e>,<E>);/
	(<f>,<F>);(<g>,<G>);(<h>,<H>);(<i>,<I>);(<j>,<J>);/
	(<k>,<K>);(<l>,<L>);(<m>,<M>);(<n>,<N>);(<o>,<O>);/
	(<p>,<P>);(<q>,<Q>);(<r>,<R>);(<s>,<S>);(<t>,<T>);/
	(<u>,<U>);(<v>,<V>);(<w>,<W>);(<x>,<X>);(<y>,<Y>);/
	(<z>,<Z>);/
	(<j0365>,<j0333>);(<j0366>,<j0334>);(<j0367>,<j0335>);/
	(<j0368>,<j0336>);(<j0369>,<j0337>);(<j0370>,<j0338>);/
	(<j0371>,<j0339>);(<j0372>,<j0340>);(<j0373>,<j0341>);/
	(<j0374>,<j0342>);(<j0375>,<j0343>);(<j0376>,<j0344>);/
	(<j0377>,<j0345>);(<j0378>,<j0346>);(<j0379>,<j0347>);/
	(<j0380>,<j0348>);(<j0381>,<j0349>);(<j0382>,<j0350>);/
	(<j0383>,<j0351>);(<j0384>,<j0352>);(<j0385>,<j0353>);/
	(<j0386>,<j0354>);(<j0387>,<j0355>);(<j0388>,<j0356>);/
	(<j0389>,<j0357>);(<j0390>,<j0358>);/
	(<j0633>,<j0601>);(<j0634>,<j0602>);(<j0635>,<j0603>);/
	(<j0636>,<j0604>);(<j0637>,<j0605>);(<j0638>,<j0606>);/
	(<j0639>,<j0607>);(<j0640>,<j0608>);(<j0641>,<j0609>);/
	(<j0642>,<j0610>);(<j0643>,<j0611>);(<j0644>,<j0612>);/
	(<j0645>,<j0613>);(<j0646>,<j0614>);(<j0647>,<j0615>);/
	(<j0648>,<j0616>);(<j0649>,<j0617>);(<j0650>,<j0618>);/
	(<j0651>,<j0619>);(<j0652>,<j0620>);(<j0653>,<j0621>);/
	(<j0654>,<j0622>);(<j0655>,<j0623>);(<j0656>,<j0624>);/
	(<j0749>,<j0701>);(<j0750>,<j0702>);(<j0751>,<j0703>);/
	(<j0752>,<j0704>);(<j0753>,<j0705>);(<j0754>,<j0706>);/
	(<j0755>,<j0707>);(<j0756>,<j0708>);(<j0757>,<j0709>);/
	(<j0758>,<j0710>);(<j0759>,<j0711>);(<j0760>,<j0712>);/
	(<j0761>,<j0713>);(<j0762>,<j0714>);(<j0763>,<j0715>);/
	(<j0764>,<j0716>);(<j0765>,<j0717>);(<j0766>,<j0718>);/
	(<j0767>,<j0719>);(<j0768>,<j0720>);(<j0769>,<j0721>);/
	(<j0770>,<j0722>);(<j0771>,<j0723>);(<j0772>,<j0724>);/
	(<j0773>,<j0725>);(<j0774>,<j0726>);(<j0775>,<j0727>);/
	(<j0776>,<j0728>);(<j0777>,<j0729>);(<j0778>,<j0730>);/
	(<j0779>,<j0731>);(<j0780>,<j0732>);(<j0781>,<j0733>)

tolower	(<A>,<a>);(<B>,<b>);(<C>,<c>);(<D>,<d>);(<E>,<e>);/
	(<F>,<f>);(<G>,<g>);(<H>,<h>);(<I>,<i>);(<J>,<j>);/
	(<K>,<k>);(<L>,<l>);(<M>,<m>);(<N>,<n>);(<O>,<o>);/
	(<P>,<p>);(<Q>,<q>);(<R>,<r>);(<S>,<s>);(<T>,<t>);/
	(<U>,<u>);(<V>,<v>);(<W>,<w>);(<X>,<x>);(<Y>,<y>);/
	(<Z>,<z>);/
	(<j0333>,<j0365>);(<j0334>,<j0366>);(<j0335>,<j0367>);/
	(<j0336>,<j0368>);(<j0337>,<j0369>);(<j0338>,<j0370>);/
	(<j0339>,<j0371>);(<j0340>,<j0372>);(<j0341>,<j0373>);/
	(<j0342>,<j0374>);(<j0343>,<j0375>);(<j0344>,<j0376>);/
	(<j0345>,<j0377>);(<j0346>,<j0378>);(<j0347>,<j0379>);/
	(<j0348>,<j0380>);(<j0349>,<j0381>);(<j0350>,<j0382>);/
	(<j0351>,<j0383>);(<j0352>,<j0384>);(<j0353>,<j0385>);/
	(<j0354>,<j0386>);(<j0355>,<j0387>);(<j0356>,<j0388>);/
	(<j0357>,<j0389>);(<j0358>,<j0390>);/
	(<j0601>,<j0633>);(<j0602>,<j0634>);(<j0603>,<j0635>);/
	(<j0604>,<j0636>);(<j0605>,<j0637>);(<j0606>,<j0638>);/
	(<j0607>,<j0639>);(<j0608>,<j0640>);(<j0609>,<j0641>);/
	(<j0610>,<j0642>);(<j0611>,<j0643>);(<j0612>,<j0644>);/
	(<j0613>,<j0645>);(<j0614>,<j0646>);(<j0615>,<j0647>);/
	(<j0616>,<j0648>);(<j0617>,<j0649>);(<j0618>,<j0650>);/
	(<j0619>,<j0651>);(<j0620>,<j0652>);(<j0621>,<j0653>);/
	(<j0622>,<j0654>);(<j0623>,<j0655>);(<j0624>,<j0656>);/
	(<j0701>,<j0749>);(<j0702>,<j0750>);(<j0703>,<j0751>);/
	(<j0704>,<j0752>);(<j0705>,<j0753>);(<j0706>,<j0754>);/
	(<j0707>,<j0755>);(<j0708>,<j0756>);(<j0709>,<j0757>);/
	(<j0710>,<j0758>);(<j0711>,<j0759>);(<j0712>,<j0760>);/
	(<j0713>,<j0761>);(<j0714>,<j0762>);(<j0715>,<j0763>);/
	(<j0716>,<j0764>);(<j0717>,<j0765>);(<j0718>,<j0766>);/
	(<j0719>,<j0767>);(<j0720>,<j0768>);(<j0721>,<j0769>);/
	(<j0722>,<j0770>);(<j0723>,<j0771>);(<j0724>,<j0772>);/
	(<j0725>,<j0773>);(<j0726>,<j0774>);(<j0727>,<j0775>);/
	(<j0728>,<j0776>);(<j0729>,<j0777>);(<j0730>,<j0778>);/
	(<j0731>,<j0779>);(<j0732>,<j0780>);(<j0733>,<j0781>)

END LC_CTYPE

# Notes on LC_COLLATE:
#	The following definition provide the straight forward
#	collation for all characters in our Japanese locale.
#	The ordering is based on byte-by-byte comparison of
#	their codes (in UJIS).  Any *fancy* ordering is not
#	described here.

LC_COLLATE

order start
<NUL>
<SOH>
<STX>
<ETX>
<EOT>
<ENQ>
<ACK>
<alert>
<backspace>
<tab>
<newline>
<vertical-tab>
<form-feed>
<carriage-return>
<SO>
<SI>
<DLE>
<DC1>
<DC2>
<DC3>
<DC4>
<NAK>
<SYN>
<ETB>
<CAN>
<EM>
<SUB>
<ESC>
<IS4>
<IS3>
<IS2>
<IS1>
<space>
<exclamation-mark>
<quotation-mark>
<number-sign>
<dollar-sign>
<percent>
<ampersand>
<apostrophe>
<left-parenthesis>
<right-parenthesis>
<asterisk>
<plus-sign>
<comma>
<hypen>
<period>
<slash>
<zero>
<one>
<two>
<three>
<four>
<five>
<six>
<seven>
<eight>
<nine>
<colon>
<semicolon>
<less-than>
<equals-sign>
<greater-than>
<question-mark>
<commercial-at>
<A>
<B>
<C>
<D>
<E>
<F>
<G>
<H>
<I>
<J>
<K>
<L>
<M>
<N>
<O>
<P>
<Q>
<R>
<S>
<T>
<U>
<V>
<W>
<X>
<Y>
<Z>
<left-bracket>
<backslash>
<right-bracket>
<circumflex>
<underscore>
<grave-accent>
<a>
<b>
<c>
<d>
<e>
<f>
<g>
<h>
<i>
<j>
<k>
<l>
<m>
<n>
<o>
<p>
<q>
<r>
<s>
<t>
<u>
<v>
<w>
<x>
<y>
<z>
<left-brace>
<vertical-line>
<right-brace>
<tilde>
<DEL>
<j0101>
...
<j0194>
<j0201>
...
<j0294>
<j0301>
...
<j0394>
<j0401>
...
<j0494>
<j0501>
...
<j0594>
<j0601>
...
<j0694>
<j0701>
...
<j0794>
<j0801>
...
<j0894>
<j0901>
...
<j0994>
<j1001>
...
<j1094>
<j1101>
...
<j1194>
<j1201>
...
<j1294>
<j1301>
...
<j1394>
<j1401>
...
<j1494>
<j1501>
...
<j1594>
<j1601>
...
<j1694>
<j1701>
...
<j1794>
<j1801>
...
<j1894>
<j1901>
...
<j1994>
<j2001>
...
<j2094>
<j2101>
...
<j2194>
<j2201>
...
<j2294>
<j2301>
...
<j2394>
<j2401>
...
<j2494>
<j2501>
...
<j2594>
<j2601>
...
<j2694>
<j2701>
...
<j2794>
<j2801>
...
<j2894>
<j2901>
...
<j2994>
<j3001>
...
<j3094>
<j3101>
...
<j3194>
<j3201>
...
<j3294>
<j3301>
...
<j3394>
<j3401>
...
<j3494>
<j3501>
...
<j3594>
<j3601>
...
<j3694>
<j3701>
...
<j3794>
<j3801>
...
<j3894>
<j3901>
...
<j3994>
<j4001>
...
<j4094>
<j4101>
...
<j4194>
<j4201>
...
<j4294>
<j4301>
...
<j4394>
<j4401>
...
<j4494>
<j4501>
...
<j4594>
<j4601>
...
<j4694>
<j4701>
...
<j4794>
<j4801>
...
<j4894>
<j4901>
...
<j4994>
<j5001>
...
<j5094>
<j5101>
...
<j5194>
<j5201>
...
<j5294>
<j5301>
...
<j5394>
<j5401>
...
<j5494>
<j5501>
...
<j5594>
<j5601>
...
<j5694>
<j5701>
...
<j5794>
<j5801>
...
<j5894>
<j5901>
...
<j5994>
<j6001>
...
<j6094>
<j6101>
...
<j6194>
<j6201>
...
<j6294>
<j6301>
...
<j6394>
<j6401>
...
<j6494>
<j6501>
...
<j6594>
<j6601>
...
<j6694>
<j6701>
...
<j6794>
<j6801>
...
<j6894>
<j6901>
...
<j6994>
<j7001>
...
<j7094>
<j7101>
...
<j7194>
<j7201>
...
<j7294>
<j7301>
...
<j7394>
<j7401>
...
<j7494>
<j7501>
...
<j7594>
<j7601>
...
<j7694>
<j7701>
...
<j7794>
<j7801>
...
<j7894>
<j7901>
...
<j7994>
<j8001>
...
<j8094>
<j8101>
...
<j8194>
<j8201>
...
<j8294>
<j8301>
...
<j8394>
<j8401>
...
<j8494>
<j8501>
...
<j8594>
<j8601>
...
<j8694>
<j8701>
...
<j8794>
<j8801>
...
<j8894>
<j8901>
...
<j8994>
<j9001>
...
<j9094>
<j9101>
...
<j9194>
<j9201>
...
<j9294>
<j9301>
...
<j9394>
<j9401>
...
<j9494>
order end

END LC_COLLATE

# Notes on LC_MESSAGES
#
# The name of this category is LC_MESSAGES here, as in
# POSIX.2 D10.
#
# Any string starting with any form of Latin Y and Hiragana
# or Katakana HA (which is the first sound of ``hai'') are
# recognized as affirmative answer.  Negative answer is
# recognized by Latin N and Hiragana or Katakana I (which
# stands for ``iie'').

LC_MESSAGES

yesexpr	"^[<y><Y><j0389><j0357><j0447><j0547>]"

noexpr	"^[<n><N><j0378><j0346><j0404><j0504>]"

END LC_MESSAGES

# Notes for LC_MONETARY:
# The <yen> character used as currency_symbol is intended
# to be double-assigned to either <backslash> (whose code
# in ASCII is for YEN sign in JIS X0201) or <j0179>.

LC_MONETARY

int_curr_symbol		"<J><P><Y><space>"
currency_symbol		"<yen>"
mon_decimal_point	""
mon_thousand_sep	"<comma>"
mon_grouping		"3;0"
positive_sign		""
negative_sign		"-"
int_frac_digits		"0"
frac_digits		"0"
p_cs_precedes		"1"
p_sep_by_space		"0"
n_cs_precedes		"1"
n_sep_by_space		"0"
p_sign_posn		"1"
n_sign_posn		"4"

END LC_MONETARY

# Notes for LC_NUMERIC
# Japanese numeric representation is one imported from U.S.
# in late 19th century.  So the following definition is
# exactly the same to U.S.

LC_NUMERIC

decimal_point		"<period>"
thousands_sep		"<comma>"
grouping		"3;0"

END LC_NUMERIC

# Notes for LC_TIME
# Our definition uses Kanji if it is appropriate.
# We have same definision for abmon and mon, because Japanese
# full representation for a month is enough short.  Ancient
# names (MUTUKI, KISARAGI, YAYOI, etc.) are not used in these
# days.

LC_TIME

# NICHI, GETSU, KA, SUI, MOKU, KIN, DO in Kanji.
abday	"<j3892>";"<j2378>";"<j1848>";"<j3169>";/
	"<j4458>";"<j2266>";"<j3752>"

# NICHI-YOBI, GETSU-YOBI, and so on.
day	"<j3892><j4543><j3892>";"<j2378><j4543><j3892>";/
	"<j1848><j4543><j3892>";"<j3169><j4543><j3892>";/
	"<j4458><j4543><j3892>";"<j2266><j4543><j3892>";/
	"<j3752><j4543><j3892>"

# 1-gatsu, 2-gatsu, and so on, in ``Kanji-digits''
abmon	"<j0317><j2378>";"<j0318><j2378>";"<j0319><j2378>";/
	"<j0320><j2378>";"<j0321><j2378>";"<j0322><j2378>";/
	"<j0323><j2378>";"<j0324><j2378>";"<j0325><j2378>";/
	"<j0317><j0316><j2378>";"<j0317><j0317><j2378>";/
	"<j0317><j0318><j2378>"

# same as abmon
mon	"<j0317><j2378>";"<j0318><j2378>";"<j0319><j2378>";/
	"<j0320><j2378>";"<j0321><j2378>";"<j0322><j2378>";/
	"<j0323><j2378>";"<j0324><j2378>";"<j0325><j2378>";/
	"<j0317><j0316><j2378>";"<j0317><j0317><j2378>";/
	"<j0317><j0318><j2378>"

# Era year definition: THIS IS AN X/OPEN EXTENSION
# This definition handles these 4 era only, i.e., HEISEI,
# SHOWA, TAISHO and MEIJI.  Years befor MEIJI are printed
# as SEIREKI (which is ``A.D.'') or KIGENZEN (which is ``B.C.'')
era	"+:2:1990-01-01:+*:<j4231><j3214>:%N%o<j3915>";/
	"+:1:1989-01-08:1989-12-31:<j4231><j3214>:%N<j2421><j3915>";/
        "+:2:1927-01-01:1989-01-07:<j3028><j4734>:%N%o<j3915>";/
	"+:1:1926-12-25:1926-12-31:<j3028><j4734>:%N<j2421><j3915>";/
	"+:2:1913-01-01:1926-12-24:<j3471><j3221>:%N%o<j3915>";/
	"+:1:1912-07-30:1912-12-31:<j3471><j3221>:%N<j2421><j3915>";/
	"+:2:1869-01-01:1912-07-29:<j4432><j2803>:%N%o<j3915>";/
	"+:1:1868-09-08:1868-12-31:<j4432><j2803>:%N<j2421><j3915>";/
	"+:1:1-1-1:1868-09-07:<j3230><j4681>:%N%o<j3915>";/
	"-:1:-1-12-31:-*:<j2110><j2421><j3316>:%N%o<j3915>"

# expected output:
#	HEISEI 2 NEN 8 GATSU 20 NICHI ( GETSU ) 9 JI 30 FUN 0 BYOU
# in Kanji.  (Note that 1990 is Heisei 2.)
d_t_fmt	"%E%m<j2378>%d<j3892><j0142>%a<j0143>%H<j2794>%M<j4212>%S<j4135>"

# 2/8/20
# Note that %o is X/Open extension.
d_fmt	"%o<slash>%m<slash>%d"

# 9:30:00
t_fmt	"%H<colon>%M<colon>%S"

# GOZEN and GOGO in Kanji; they are not needed usually
am_pm	"<j2465><j3316>";"<j2465><j2469>"

END LC_TIME