• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// ***************************************************************************
2// *
3// * Copyright (C) 2011 International Business Machines
4// * Corporation and others.  All Rights Reserved.
5// * Tool: com.ibm.icu.dev.tool.cldr.LDML2ICUConverter.java
6// * Source File:<path>/common/rbnf/en.xml
7// *
8// ***************************************************************************
9/**
10 *  ICU <specials> source: <path>/xml/rbnf/en.xml
11 */
12en{
13    RBNFRules{
14        DurationRules{
15            "%with-words:",
16            "0: 0 seconds; 1 second; =0= seconds;",
17            "60/60: <%%min<[, >>];",
18            "3600/60: <%%hr<[, >>>];",
19            "%%min:",
20            "0: 0 minutes; 1 minute; =0= minutes;",
21            "%%hr:",
22            "0: 0 hours; 1 hour; =0= hours;",
23            "%in-numerals:",
24            "0: =0= sec.;",
25            "60: =%%min-sec=;",
26            "3600: =%%hr-min-sec=;",
27            "%%min-sec:",
28            "0: :=00=;",
29            "60/60: <0<>>;",
30            "%%hr-min-sec:",
31            "0: :=00=;",
32            "60/60: <00<>>;",
33            "3600/60: <#,##0<:>>>;",
34            "%duration:",
35            "0: =%in-numerals=;",
36            "%%lenient-parse:",
37            "& ':' = '.' = ' ' = '-';",
38        }
39        OrdinalRules{
40            "%%digits-ordinal-indicator:",
41            "0: th;",
42            "1: st;",
43            "2: nd;",
44            "3: rd;",
45            "4: th;",
46            "20: >>;",
47            "100: >>;",
48            "%digits-ordinal:",
49            "-x: \u2212>>;",
50            "0: =#,##0==%%digits-ordinal-indicator=;",
51        }
52        SpelloutRules{
53            "%%2d-year:",
54            "0: hundred[ and >%spellout-numbering>];",
55            "1: oh-=%spellout-numbering=;",
56            "10: =%spellout-numbering=;",
57            "%spellout-numbering-year:",
58            "-x: minus >>;",
59            "x.x: =#,###0.#=;",
60            "0: =%spellout-numbering=;",
61            "1000/100: << >%%2d-year>;",
62            "10000: =%spellout-numbering=;",
63            "%spellout-numbering:",
64            "0: =%spellout-cardinal=;",
65            "%spellout-numbering-verbose:",
66            "0: =%spellout-cardinal-verbose=;",
67            "%spellout-cardinal:",
68            "-x: minus >>;",
69            "x.x: << point >>;",
70            "0: zero;",
71            "1: one;",
72            "2: two;",
73            "3: three;",
74            "4: four;",
75            "5: five;",
76            "6: six;",
77            "7: seven;",
78            "8: eight;",
79            "9: nine;",
80            "10: ten;",
81            "11: eleven;",
82            "12: twelve;",
83            "13: thirteen;",
84            "14: fourteen;",
85            "15: fifteen;",
86            "16: sixteen;",
87            "17: seventeen;",
88            "18: eighteen;",
89            "19: nineteen;",
90            "20: twenty[->>];",
91            "30: thirty[->>];",
92            "40: forty[->>];",
93            "50: fifty[->>];",
94            "60: sixty[->>];",
95            "70: seventy[->>];",
96            "80: eighty[->>];",
97            "90: ninety[->>];",
98            "100: << hundred[ >>];",
99            "1000: << thousand[ >>];",
100            "1000000: << million[ >>];",
101            "1000000000: << billion[ >>];",
102            "1000000000000: << trillion[ >>];",
103            "1000000000000000: << quadrillion[ >>];",
104            "1000000000000000000: =#,##0=;",
105            "%%and:",
106            "1: ' and =%spellout-cardinal-verbose=;",
107            "100: ' =%spellout-cardinal-verbose=;",
108            "%%commas:",
109            "1: ' and =%spellout-cardinal-verbose=;",
110            "100: , =%spellout-cardinal-verbose=;",
111            "1000: , <%spellout-cardinal-verbose< thousand[>%%commas>];",
112            "1000000: , =%spellout-cardinal-verbose=;",
113            "%spellout-cardinal-verbose:",
114            "-x: minus >>;",
115            "x.x: << point >>;",
116            "0: =%spellout-numbering=;",
117            "100: << hundred[>%%and>];",
118            "1000: << thousand[>%%and>];",
119            "100000/1000: << thousand[>%%commas>];",
120            "1000000: << million[>%%commas>];",
121            "1000000000: << billion[>%%commas>];",
122            "1000000000000: << trillion[>%%commas>];",
123            "1000000000000000: << quadrillion[>%%commas>];",
124            "1000000000000000000: =#,##0=;",
125            "%%lenient-parse:",
126            "&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';",
127            "%%tieth:",
128            "0: tieth;",
129            "1: ty-=%spellout-ordinal=;",
130            "%%th:",
131            "0: th;",
132            "1: ' =%spellout-ordinal=;",
133            "%spellout-ordinal:",
134            "-x: minus >>;",
135            "x.x: =#,##0.#=;",
136            "0: zeroth;",
137            "1: first;",
138            "2: second;",
139            "3: third;",
140            "4: fourth;",
141            "5: fifth;",
142            "6: sixth;",
143            "7: seventh;",
144            "8: eighth;",
145            "9: ninth;",
146            "10: tenth;",
147            "11: eleventh;",
148            "12: twelfth;",
149            "13: =%spellout-numbering=th;",
150            "20: twen>%%tieth>;",
151            "30: thir>%%tieth>;",
152            "40: for>%%tieth>;",
153            "50: fif>%%tieth>;",
154            "60: six>%%tieth>;",
155            "70: seven>%%tieth>;",
156            "80: eigh>%%tieth>;",
157            "90: nine>%%tieth>;",
158            "100: <%spellout-numbering< hundred>%%th>;",
159            "1000: <%spellout-numbering< thousand>%%th>;",
160            "1000000: <%spellout-numbering< million>%%th>;",
161            "1000000000: <%spellout-numbering< billion>%%th>;",
162            "1000000000000: <%spellout-numbering< trillion>%%th>;",
163            "1000000000000000: <%spellout-numbering< quadrillion>%%th>;",
164            "1000000000000000000: =#,##0=.;",
165            "%%and-o:",
166            "0: th;",
167            "1: ' and =%spellout-ordinal-verbose=;",
168            "100: ' =%spellout-ordinal-verbose=;",
169            "%%commas-o:",
170            "0: th;",
171            "1: ' and =%spellout-ordinal-verbose=;",
172            "100: , =%spellout-ordinal-verbose=;",
173            "1000: , <%spellout-cardinal-verbose< thousand>%%commas-o>;",
174            "1000000: , =%spellout-ordinal-verbose=;",
175            "%spellout-ordinal-verbose:",
176            "-x: minus >>;",
177            "x.x: =#,##0.#=;",
178            "0: =%spellout-ordinal=;",
179            "100: <%spellout-numbering-verbose< hundred>%%and-o>;",
180            "1000: <%spellout-numbering-verbose< thousand>%%and-o>;",
181            "100000/1000: <%spellout-numbering-verbose< thousand>%%commas-o>;",
182            "1000000: <%spellout-numbering-verbose< million>%%commas-o>;",
183            "1000000000: <%spellout-numbering-verbose< billion>%%commas-o>;",
184            "1000000000000: <%spellout-numbering-verbose< trillion>%%commas-o>;",
185            "1000000000000000: <%spellout-numbering-verbose< quadrillion>%%commas-o>;",
186            "1000000000000000000: =#,##0=.;",
187        }
188    }
189    Version{"2.0.58.57"}
190}
191