]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/data/rbnf/ja.txt
ICU-66108.tar.gz
[apple/icu.git] / icuSources / data / rbnf / ja.txt
index aaeabc1699ab5ec2444d4b2717622f6906b6cc48..f7dc66e9584f37b2e5c6fd62d8662ec54d77c88e 100644 (file)
@@ -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"}
 }