Home | History | Annotate | Download | only in rbnf
      1 <?xml version="1.0" encoding="UTF-8" ?>
      2 <!DOCTYPE ldml SYSTEM "../../common/dtd/ldml.dtd">
      3 <!--
      4 Copyright  1991-2014 Unicode, Inc.
      5 CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
      6 For terms of use, see http://www.unicode.org/copyright.html
      7 -->
      8 <ldml>
      9     <identity>
     10         <version number="$Revision: 12722 $"/>
     11         <language type="zh"/>
     12     </identity>
     13     <rbnf>
     14         <rulesetGrouping type="SpelloutRules">
     15             <ruleset type="spellout-numbering-year">
     16                 <rbnfrule value="x.x">=0.0=;</rbnfrule>
     17                 <rbnfrule value="0">=%spellout-numbering=;</rbnfrule>
     18                 <rbnfrule value="1000">=%%spellout-numbering-year-digits=;</rbnfrule>
     19                 <rbnfrule value="10000">=%spellout-numbering=;</rbnfrule>
     20             </ruleset>
     21             <ruleset type="spellout-numbering-year-digits" access="private">
     22                 <rbnfrule value="0">=%spellout-numbering=;</rbnfrule>
     23                 <rbnfrule value="10">;</rbnfrule>
     24                 <rbnfrule value="100">;</rbnfrule>
     25                 <rbnfrule value="1000">;</rbnfrule>
     26             </ruleset>
     27             <ruleset type="spellout-numbering-days">
     28                 <rbnfrule value="-x">;</rbnfrule>
     29                 <rbnfrule value="x.x">=#,##0.#=;</rbnfrule>
     30                 <rbnfrule value="0">;</rbnfrule>
     31                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
     32                 <rbnfrule value="11">=%spellout-numbering=;</rbnfrule>
     33                 <rbnfrule value="21">=%%numbering-days=;</rbnfrule>
     34             </ruleset>
     35             <ruleset type="numbering-days" access="private">
     36                 <rbnfrule value="0">=%spellout-numbering=;</rbnfrule>
     37                 <rbnfrule value="21">;</rbnfrule>
     38                 <rbnfrule value="30">;</rbnfrule>
     39                 <rbnfrule value="31">;</rbnfrule>
     40                 <rbnfrule value="40">;</rbnfrule>
     41                 <rbnfrule value="41">;</rbnfrule>
     42                 <rbnfrule value="50">=%spellout-numbering=;</rbnfrule>
     43             </ruleset>
     44             <ruleset type="spellout-numbering">
     45                 <rbnfrule value="-x">;</rbnfrule>
     46                 <rbnfrule value="x.x">;</rbnfrule>
     47                 <rbnfrule value="0">;</rbnfrule>
     48                 <rbnfrule value="1">;</rbnfrule>
     49                 <rbnfrule value="2">;</rbnfrule>
     50                 <rbnfrule value="3">;</rbnfrule>
     51                 <rbnfrule value="4">;</rbnfrule>
     52                 <rbnfrule value="5">;</rbnfrule>
     53                 <rbnfrule value="6">;</rbnfrule>
     54                 <rbnfrule value="7">;</rbnfrule>
     55                 <rbnfrule value="8">;</rbnfrule>
     56                 <rbnfrule value="9">;</rbnfrule>
     57                 <rbnfrule value="10">[];</rbnfrule>
     58                 <rbnfrule value="20">[];</rbnfrule>
     59                 <rbnfrule value="100">[%%number2];</rbnfrule>
     60                 <rbnfrule value="1000">[%%number3];</rbnfrule>
     61                 <rbnfrule value="10000">[%%number4];</rbnfrule>
     62                 <rbnfrule value="100000000">[%%number5];</rbnfrule>
     63                 <rbnfrule value="1000000000000">[%%number8];</rbnfrule>
     64                 <rbnfrule value="10000000000000000">[%%number13];</rbnfrule>
     65                 <rbnfrule value="1000000000000000000">=#,##0=;</rbnfrule>
     66             </ruleset>
     67             <ruleset type="number2" access="private">
     68                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
     69                 <rbnfrule value="10">=%spellout-numbering=;</rbnfrule>
     70                 <rbnfrule value="20">=%spellout-numbering=;</rbnfrule>
     71             </ruleset>
     72             <ruleset type="number3" access="private">
     73                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
     74                 <rbnfrule value="10">=%spellout-numbering=;</rbnfrule>
     75                 <rbnfrule value="20">=%spellout-numbering=;</rbnfrule>
     76                 <rbnfrule value="100">=%spellout-numbering=;</rbnfrule>
     77             </ruleset>
     78             <ruleset type="number4" access="private">
     79                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
     80                 <rbnfrule value="10">=%spellout-numbering=;</rbnfrule>
     81                 <rbnfrule value="20">=%spellout-numbering=;</rbnfrule>
     82                 <rbnfrule value="1000">=%spellout-numbering=;</rbnfrule>
     83             </ruleset>
     84             <ruleset type="number5" access="private">
     85                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
     86                 <rbnfrule value="10">=%spellout-numbering=;</rbnfrule>
     87                 <rbnfrule value="20">=%spellout-numbering=;</rbnfrule>
     88                 <rbnfrule value="10000">=%spellout-numbering=;</rbnfrule>
     89             </ruleset>
     90             <ruleset type="number8" access="private">
     91                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
     92                 <rbnfrule value="10">=%spellout-numbering=;</rbnfrule>
     93                 <rbnfrule value="20">=%spellout-numbering=;</rbnfrule>
     94                 <rbnfrule value="10000000">=%spellout-numbering=;</rbnfrule>
     95             </ruleset>
     96             <ruleset type="number13" access="private">
     97                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
     98                 <rbnfrule value="10">=%spellout-numbering=;</rbnfrule>
     99                 <rbnfrule value="20">=%spellout-numbering=;</rbnfrule>
    100                 <rbnfrule value="1000000000000">=%spellout-numbering=;</rbnfrule>
    101             </ruleset>
    102             <ruleset type="spellout-cardinal-financial">
    103                 <rbnfrule value="-x">;</rbnfrule>
    104                 <rbnfrule value="x.x">;</rbnfrule>
    105                 <rbnfrule value="0">;</rbnfrule>
    106                 <rbnfrule value="1">;</rbnfrule>
    107                 <rbnfrule value="2">;</rbnfrule>
    108                 <rbnfrule value="3">;</rbnfrule>
    109                 <rbnfrule value="4">;</rbnfrule>
    110                 <rbnfrule value="5">;</rbnfrule>
    111                 <rbnfrule value="6">;</rbnfrule>
    112                 <rbnfrule value="7">;</rbnfrule>
    113                 <rbnfrule value="8">;</rbnfrule>
    114                 <rbnfrule value="9">;</rbnfrule>
    115                 <rbnfrule value="10">[];</rbnfrule>
    116                 <rbnfrule value="20">[];</rbnfrule>
    117                 <rbnfrule value="100">[%%financialnumber2];</rbnfrule>
    118                 <rbnfrule value="1000">[%%financialnumber3];</rbnfrule>
    119                 <rbnfrule value="10000">[%%financialnumber4];</rbnfrule> <!-- See Chinese standard GBT15835 for details on financial numbers http://ccl.pku.edu.cn/doubtfire/Papers/GBT15835-2011.pdf -->
    120                 <rbnfrule value="100000000">[%%financialnumber5];</rbnfrule>
    121                 <rbnfrule value="1000000000000">[%%financialnumber8];</rbnfrule>
    122                 <rbnfrule value="10000000000000000">[%%financialnumber13];</rbnfrule>
    123                 <rbnfrule value="1000000000000000000">=#,##0=;</rbnfrule>
    124             </ruleset>
    125             <ruleset type="financialnumber2" access="private">
    126                 <rbnfrule value="1">=%spellout-cardinal-financial=;</rbnfrule>
    127                 <rbnfrule value="10">=%spellout-cardinal-financial=;</rbnfrule>
    128                 <rbnfrule value="20">=%spellout-cardinal-financial=;</rbnfrule>
    129             </ruleset>
    130             <ruleset type="financialnumber3" access="private">
    131                 <rbnfrule value="1">=%spellout-cardinal-financial=;</rbnfrule>
    132                 <rbnfrule value="10">=%spellout-cardinal-financial=;</rbnfrule>
    133                 <rbnfrule value="20">=%spellout-cardinal-financial=;</rbnfrule>
    134                 <rbnfrule value="100">=%spellout-cardinal-financial=;</rbnfrule>
    135             </ruleset>
    136             <ruleset type="financialnumber4" access="private">
    137                 <rbnfrule value="1">=%spellout-cardinal-financial=;</rbnfrule>
    138                 <rbnfrule value="10">=%spellout-cardinal-financial=;</rbnfrule>
    139                 <rbnfrule value="20">=%spellout-cardinal-financial=;</rbnfrule>
    140                 <rbnfrule value="1000">=%spellout-cardinal-financial=;</rbnfrule>
    141             </ruleset>
    142             <ruleset type="financialnumber5" access="private">
    143                 <rbnfrule value="1">=%spellout-cardinal-financial=;</rbnfrule>
    144                 <rbnfrule value="10">=%spellout-cardinal-financial=;</rbnfrule>
    145                 <rbnfrule value="20">=%spellout-cardinal-financial=;</rbnfrule>
    146                 <rbnfrule value="10000">=%spellout-cardinal-financial=;</rbnfrule>
    147             </ruleset>
    148             <ruleset type="financialnumber8" access="private">
    149                 <rbnfrule value="1">=%spellout-cardinal-financial=;</rbnfrule>
    150                 <rbnfrule value="10">=%spellout-cardinal-financial=;</rbnfrule>
    151                 <rbnfrule value="20">=%spellout-cardinal-financial=;</rbnfrule>
    152                 <rbnfrule value="10000000">=%spellout-cardinal-financial=;</rbnfrule>
    153             </ruleset>
    154             <ruleset type="financialnumber13" access="private">
    155                 <rbnfrule value="1">=%spellout-cardinal-financial=;</rbnfrule>
    156                 <rbnfrule value="10">=%spellout-cardinal-financial=;</rbnfrule>
    157                 <rbnfrule value="20">=%spellout-cardinal-financial=;</rbnfrule>
    158                 <rbnfrule value="1000000000000">=%spellout-cardinal-financial=;</rbnfrule>
    159             </ruleset>
    160             <ruleset type="spellout-cardinal">
    161                 <rbnfrule value="-x">;</rbnfrule>
    162                 <rbnfrule value="x.x">;</rbnfrule>
    163                 <rbnfrule value="0">;</rbnfrule>
    164                 <rbnfrule value="1">;</rbnfrule>
    165                 <rbnfrule value="2">;</rbnfrule>
    166                 <rbnfrule value="3">;</rbnfrule>
    167                 <rbnfrule value="4">;</rbnfrule>
    168                 <rbnfrule value="5">;</rbnfrule>
    169                 <rbnfrule value="6">;</rbnfrule>
    170                 <rbnfrule value="7">;</rbnfrule>
    171                 <rbnfrule value="8">;</rbnfrule>
    172                 <rbnfrule value="9">;</rbnfrule>
    173                 <rbnfrule value="10">=%spellout-numbering=;</rbnfrule>
    174                 <rbnfrule value="100">[%%cardinal2];</rbnfrule>
    175                 <rbnfrule value="1000">[%%cardinal3];</rbnfrule>
    176                 <rbnfrule value="10000">[%%cardinal4];</rbnfrule>
    177                 <rbnfrule value="100000000">[%%cardinal5];</rbnfrule>
    178                 <rbnfrule value="1000000000000">[%%cardinal8];</rbnfrule>
    179                 <rbnfrule value="10000000000000000">[%%cardinal13];</rbnfrule>
    180                 <rbnfrule value="1000000000000000000">=#,##0=;</rbnfrule>
    181             </ruleset>
    182             <ruleset type="cardinal2" access="private">
    183                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    184                 <rbnfrule value="10">=%spellout-numbering=;</rbnfrule>
    185                 <rbnfrule value="20">=%spellout-numbering=;</rbnfrule>
    186             </ruleset>
    187             <ruleset type="cardinal3" access="private">
    188                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    189                 <rbnfrule value="10">=%spellout-cardinal=;</rbnfrule>
    190                 <rbnfrule value="20">=%spellout-cardinal=;</rbnfrule>
    191                 <rbnfrule value="100">=%spellout-cardinal=;</rbnfrule>
    192             </ruleset>
    193             <ruleset type="cardinal4" access="private">
    194                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    195                 <rbnfrule value="10">=%spellout-cardinal=;</rbnfrule>
    196                 <rbnfrule value="20">=%spellout-cardinal=;</rbnfrule>
    197                 <rbnfrule value="1000">=%spellout-cardinal=;</rbnfrule>
    198             </ruleset>
    199             <ruleset type="cardinal5" access="private">
    200                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    201                 <rbnfrule value="10">=%spellout-cardinal=;</rbnfrule>
    202                 <rbnfrule value="20">=%spellout-cardinal=;</rbnfrule>
    203                 <rbnfrule value="10000">=%spellout-cardinal=;</rbnfrule>
    204             </ruleset>
    205             <ruleset type="cardinal8" access="private">
    206                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    207                 <rbnfrule value="10">=%spellout-cardinal=;</rbnfrule>
    208                 <rbnfrule value="20">=%spellout-cardinal=;</rbnfrule>
    209                 <rbnfrule value="10000000">=%spellout-cardinal=;</rbnfrule>
    210             </ruleset>
    211             <ruleset type="cardinal13" access="private">
    212                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    213                 <rbnfrule value="10">=%spellout-cardinal=;</rbnfrule>
    214                 <rbnfrule value="20">=%spellout-cardinal=;</rbnfrule>
    215                 <rbnfrule value="1000000000000">=%spellout-cardinal=;</rbnfrule>
    216             </ruleset>
    217             <ruleset type="spellout-cardinal-alternate2">
    218                 <rbnfrule value="-x">;</rbnfrule>
    219                 <rbnfrule value="x.x">=%spellout-cardinal=;</rbnfrule>
    220                 <rbnfrule value="0">;</rbnfrule>
    221                 <rbnfrule value="1">;</rbnfrule>
    222                 <rbnfrule value="2">;</rbnfrule>
    223                 <rbnfrule value="3">;</rbnfrule>
    224                 <rbnfrule value="4">;</rbnfrule>
    225                 <rbnfrule value="5">;</rbnfrule>
    226                 <rbnfrule value="6">;</rbnfrule>
    227                 <rbnfrule value="7">;</rbnfrule>
    228                 <rbnfrule value="8">;</rbnfrule>
    229                 <rbnfrule value="9">;</rbnfrule>
    230                 <rbnfrule value="10">=%spellout-numbering=;</rbnfrule>
    231                 <rbnfrule value="100">[%%cardinal-alternate2-2];</rbnfrule>
    232                 <rbnfrule value="1000">[%%cardinal-alternate2-3];</rbnfrule>
    233                 <rbnfrule value="10000">[%%cardinal-alternate2-4];</rbnfrule>
    234                 <rbnfrule value="100000000">[%%cardinal-alternate2-5];</rbnfrule>
    235                 <rbnfrule value="1000000000000">[%%cardinal-alternate2-8];</rbnfrule>
    236                 <rbnfrule value="10000000000000000">[%%cardinal-alternate2-13];</rbnfrule>
    237                 <rbnfrule value="1000000000000000000">=#,##0=;</rbnfrule>
    238             </ruleset>
    239             <ruleset type="cardinal-alternate2-2" access="private">
    240                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    241                 <rbnfrule value="10">=%spellout-numbering=;</rbnfrule>
    242                 <rbnfrule value="20">=%spellout-numbering=;</rbnfrule>
    243             </ruleset>
    244             <ruleset type="cardinal-alternate2-3" access="private">
    245                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    246                 <rbnfrule value="10">=%spellout-cardinal-alternate2=;</rbnfrule>
    247                 <rbnfrule value="20">=%spellout-cardinal-alternate2=;</rbnfrule>
    248                 <rbnfrule value="100">=%spellout-cardinal-alternate2=;</rbnfrule>
    249             </ruleset>
    250             <ruleset type="cardinal-alternate2-4" access="private">
    251                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    252                 <rbnfrule value="10">=%spellout-cardinal-alternate2=;</rbnfrule>
    253                 <rbnfrule value="20">=%spellout-cardinal-alternate2=;</rbnfrule>
    254                 <rbnfrule value="1000">=%spellout-cardinal-alternate2=;</rbnfrule>
    255             </ruleset>
    256             <ruleset type="cardinal-alternate2-5" access="private">
    257                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    258                 <rbnfrule value="10">=%spellout-cardinal-alternate2=;</rbnfrule>
    259                 <rbnfrule value="20">=%spellout-cardinal-alternate2=;</rbnfrule>
    260                 <rbnfrule value="10000">=%spellout-cardinal-alternate2=;</rbnfrule>
    261             </ruleset>
    262             <ruleset type="cardinal-alternate2-8" access="private">
    263                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    264                 <rbnfrule value="10">=%spellout-cardinal-alternate2=;</rbnfrule>
    265                 <rbnfrule value="20">=%spellout-cardinal-alternate2=;</rbnfrule>
    266                 <rbnfrule value="10000000">=%spellout-cardinal-alternate2=;</rbnfrule>
    267             </ruleset>
    268             <ruleset type="cardinal-alternate2-13" access="private">
    269                 <rbnfrule value="1">=%spellout-numbering=;</rbnfrule>
    270                 <rbnfrule value="10">=%spellout-cardinal-alternate2=;</rbnfrule>
    271                 <rbnfrule value="20">=%spellout-cardinal-alternate2=;</rbnfrule>
    272                 <rbnfrule value="1000000000000">=%spellout-cardinal-alternate2=;</rbnfrule>
    273             </ruleset>
    274             <ruleset type="spellout-ordinal">
    275                 <rbnfrule value="x.x">=#,##0.#=;</rbnfrule>
    276                 <rbnfrule value="0">=%spellout-numbering=;</rbnfrule>
    277             </ruleset>
    278         </rulesetGrouping>
    279         <rulesetGrouping type="OrdinalRules">
    280             <ruleset type="digits-ordinal">
    281                 <rbnfrule value="-x">#,##0;</rbnfrule>
    282                 <rbnfrule value="0">=#,##0=;</rbnfrule>
    283             </ruleset>
    284         </rulesetGrouping>
    285     </rbnf>
    286 </ldml>
    287