X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..340931cb2e044a2141d11567dd0f782524e32994:/icuSources/data/rbnf/ja.txt diff --git a/icuSources/data/rbnf/ja.txt b/icuSources/data/rbnf/ja.txt index aaeabc16..f7dc66e9 100644 --- a/icuSources/data/rbnf/ja.txt +++ b/icuSources/data/rbnf/ja.txt @@ -1,54 +1,82 @@ -// *************************************************************************** -// * -// * Copyright (C) 2004, International Business Machines -// * Corporation and others. All Rights Reserved. -// * -// *************************************************************************** -// - -ja { - - //------------------------------------------------------------ - // Rule Based Number Format Support - //------------------------------------------------------------ - -// * Spellout rules for Japanese. In Japanese, there really isn't any -// * distinction between a number written out in digits and a number -// * written out in words: the ideographic characters are both digits -// * and words. This rule set provides two variants: %traditional -// * uses the traditional CJK numerals (which are also used in China -// * and Korea). %financial uses alternate ideographs for many numbers -// * that are harder to alter than the traditional numerals (one could -// * fairly easily change a one to -// * a three just by adding two strokes, for example). This is also done in -// * the other countries using Chinese idographs, but different ideographs -// * are used in those places. - - // Can someone supply me with the right fraud-proof ideographs for - // Simplified and Traditional Chinese, and for Korean? Can someone - // supply me with information on negatives and decimals? - - SpelloutRules { - "%financial:\n" - "\u96f6; \u58f1; \u5f10; \u53c2; \u56db; \u4f0d; \u516d; \u4e03; \u516b; \u4e5d;\n" - "\u62fe[>>];\n" - "20: <<\u62fe[>>];\n" - "100: <<\u767e[>>];\n" - "1000: <<\u5343[>>];\n" - "10,000: <<\u4e07[>>];\n" - "100,000,000: <<\u5104[>>];\n" - "1,000,000,000,000: <<\u5146[>>];\n" - "10,000,000,000,000,000: =#,##0=;\n" - "%traditional:\n" - "\u96f6; \u4e00; \u4e8c; \u4e09; \u56db; \u4e94; \u516d; \u4e03; \u516b; \u4e5d;\n" - "\u5341[>>];\n" - "20: <<\u5341[>>];\n" - "100: <<\u767e[>>];\n" - "1000: <<\u5343[>>];\n" - "10,000: <<\u4e07[>>];\n" - "100,000,000: <<\u5104[>>];\n" - "1,000,000,000,000: <<\u5146[>>];\n" - "10,000,000,000,000,000: =#,##0=;" +// © 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html#License +ja{ + RBNFRules{ + OrdinalRules{ + "%digits-ordinal:", + "-x: \u7B2C\u2212>#,##0>;", + "0: \u7B2C=#,##0=;", + } + SpelloutRules{ + "%spellout-numbering-year-latn:", + "x.x: =0.0=;", + "0: =0=;", + "1: \u5143;", + "2: =0=;", + "%spellout-numbering-year:", + "x.x: =0.0=;", + "0: =%spellout-numbering=;", + "1: \u5143;", + "2: =%spellout-numbering=;", + "1000: =%%spellout-numbering-year-digits=;", + "10000: =%spellout-numbering=;", + "%%spellout-numbering-year-digits:", + "0: =%spellout-numbering=;", + "10: <<>>>;", + "100: <<>>>;", + "1000: <<>>>;", + "%spellout-numbering:", + "0: =%spellout-cardinal=;", + "%spellout-cardinal-financial:", + "-x: \u30DE\u30A4\u30CA\u30B9>>;", + "x.x: <<\u70B9>>>;", + "0: \u96F6;", + "1: \u58F1;", + "2: \u5F10;", + "3: \u53C2;", + "4: \u56DB;", + "5: \u4F0D;", + "6: \u516D;", + "7: \u4E03;", + "8: \u516B;", + "9: \u4E5D;", + "10: \u62FE[>>];", + "20: <<\u62FE[>>];", + "100: <<\u767E[>>];", + "1000: <<\u5343[>>];", + "10000: <<\u842C[>>];", + "100000000: <<\u5104[>>];", + "1000000000000: <<\u5146[>>];", + "10000000000000000: <<\u4EAC[>>];", + "1000000000000000000: =#,##0=;", + "%spellout-cardinal:", + "-x: \u30DE\u30A4\u30CA\u30B9>>;", + "x.x: <<\u30FB>>>;", + "0: \u3007;", + "1: \u4E00;", + "2: \u4E8C;", + "3: \u4E09;", + "4: \u56DB;", + "5: \u4E94;", + "6: \u516D;", + "7: \u4E03;", + "8: \u516B;", + "9: \u4E5D;", + "10: \u5341[>>];", + "20: <<\u5341[>>];", + "100: \u767E[>>];", + "200: <<\u767E[>>];", + "1000: \u5343[>>];", + "2000: <<\u5343[>>];", + "10000: <<\u4E07[>>];", + "100000000: <<\u5104[>>];", + "1000000000000: <<\u5146[>>];", + "10000000000000000: <<\u4EAC[>>];", + "1000000000000000000: =#,##0=;", + "%spellout-ordinal:", + "x.x: =#,##0.#=;", + "0: \u7B2C=%spellout-numbering=;", + } } - + Version{"36.1"} }