• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// © 2016 and later: Unicode, Inc. and others.
2// License & terms of use: http://www.unicode.org/copyright.html#License
3/**
4 * ICU <specials> source: <path>/xml/rbnf/en.xml
5 */
6en{
7    RBNFRules{
8        DurationRules{
9            "%with-words:",
10            "0: 0 seconds; 1 second; =0= seconds;",
11            "60/60: <%%min<[, >>];",
12            "3600/60: <%%hr<[, >>>];",
13            "%%min:",
14            "0: 0 minutes; 1 minute; =0= minutes;",
15            "%%hr:",
16            "0: 0 hours; 1 hour; =0= hours;",
17            "%in-numerals:",
18            "0: =0= sec.;",
19            "60: =%%min-sec=;",
20            "3600: =%%hr-min-sec=;",
21            "%%min-sec:",
22            "0: :=00=;",
23            "60/60: <0<>>;",
24            "%%hr-min-sec:",
25            "0: :=00=;",
26            "60/60: <00<>>;",
27            "3600/60: <#,##0<:>>>;",
28            "%duration:",
29            "0: =%in-numerals=;",
30            "%%lenient-parse:",
31            "& ':' = '.' = ' ' = '-';",
32        }
33        OrdinalRules{
34            "%digits-ordinal:",
35            "-x: \u2212>>;",
36            "0: =#,##0=$(ordinal,one{st}two{nd}few{rd}other{th})$;",
37        }
38        SpelloutRules{
39            "%%lenient-parse:",
40            "&[last primary ignorable ] << ' ' << ',' << '-' << '\u00AD';",
41            "%%2d-year:",
42            "0: hundred;",
43            "1: oh-=%spellout-numbering=;",
44            "10: =%spellout-numbering=;",
45            "%spellout-numbering-year:",
46            "-x: minus >>;",
47            "x.x: =#,##0.#=;",
48            "0: =%spellout-numbering=;",
49            "1010/100: << >%%2d-year>;",
50            "1100/100: << >%%2d-year>;",
51            "2000: =%spellout-numbering=;",
52            "2010/100: << >%%2d-year>;",
53            "2100/100: << >%%2d-year>;",
54            "3000: =%spellout-numbering=;",
55            "3010/100: << >%%2d-year>;",
56            "3100/100: << >%%2d-year>;",
57            "4000: =%spellout-numbering=;",
58            "4010/100: << >%%2d-year>;",
59            "4100/100: << >%%2d-year>;",
60            "5000: =%spellout-numbering=;",
61            "5010/100: << >%%2d-year>;",
62            "5100/100: << >%%2d-year>;",
63            "6000: =%spellout-numbering=;",
64            "6010/100: << >%%2d-year>;",
65            "6100/100: << >%%2d-year>;",
66            "7000: =%spellout-numbering=;",
67            "7010/100: << >%%2d-year>;",
68            "7100/100: << >%%2d-year>;",
69            "8000: =%spellout-numbering=;",
70            "8010/100: << >%%2d-year>;",
71            "8100/100: << >%%2d-year>;",
72            "9000: =%spellout-numbering=;",
73            "9010/100: << >%%2d-year>;",
74            "9100/100: << >%%2d-year>;",
75            "10000: =%spellout-numbering=;",
76            "%spellout-numbering:",
77            "-x: minus >>;",
78            "Inf: infinity;",
79            "NaN: not a number;",
80            "0: =%spellout-cardinal=;",
81            "%spellout-numbering-verbose:",
82            "-x: minus >>;",
83            "Inf: infinity;",
84            "NaN: not a number;",
85            "0: =%spellout-cardinal-verbose=;",
86            "%spellout-cardinal:",
87            "-x: minus >>;",
88            "x.x: << point >>;",
89            "Inf: infinite;",
90            "NaN: not a number;",
91            "0: zero;",
92            "1: one;",
93            "2: two;",
94            "3: three;",
95            "4: four;",
96            "5: five;",
97            "6: six;",
98            "7: seven;",
99            "8: eight;",
100            "9: nine;",
101            "10: ten;",
102            "11: eleven;",
103            "12: twelve;",
104            "13: thirteen;",
105            "14: fourteen;",
106            "15: fifteen;",
107            "16: sixteen;",
108            "17: seventeen;",
109            "18: eighteen;",
110            "19: nineteen;",
111            "20: twenty[->>];",
112            "30: thirty[->>];",
113            "40: forty[->>];",
114            "50: fifty[->>];",
115            "60: sixty[->>];",
116            "70: seventy[->>];",
117            "80: eighty[->>];",
118            "90: ninety[->>];",
119            "100: << hundred[ >>];",
120            "1000: << thousand[ >>];",
121            "1000000: << million[ >>];",
122            "1000000000: << billion[ >>];",
123            "1000000000000: << trillion[ >>];",
124            "1000000000000000: << quadrillion[ >>];",
125            "1000000000000000000: =#,##0=;",
126            "%%and:",
127            "1: ' and =%spellout-cardinal-verbose=;",
128            "100: ' =%spellout-cardinal-verbose=;",
129            "%%commas:",
130            "1: ' and =%spellout-cardinal-verbose=;",
131            "100: , =%spellout-cardinal-verbose=;",
132            "1000: , <%spellout-cardinal-verbose< thousand[>%%commas>];",
133            "1000000: , =%spellout-cardinal-verbose=;",
134            "%spellout-cardinal-verbose:",
135            "-x: minus >>;",
136            "x.x: << point >>;",
137            "Inf: infinite;",
138            "NaN: not a number;",
139            "0: =%spellout-numbering=;",
140            "100: << hundred[>%%and>];",
141            "1000: << thousand[>%%and>];",
142            "100000/1000: << thousand[>%%commas>];",
143            "1000000: << million[>%%commas>];",
144            "1000000000: << billion[>%%commas>];",
145            "1000000000000: << trillion[>%%commas>];",
146            "1000000000000000: << quadrillion[>%%commas>];",
147            "1000000000000000000: =#,##0=;",
148            "%%tieth:",
149            "0: tieth;",
150            "1: ty-=%spellout-ordinal=;",
151            "%%th:",
152            "0: th;",
153            "1: ' =%spellout-ordinal=;",
154            "%spellout-ordinal:",
155            "-x: minus >>;",
156            "x.x: =#,##0.#=;",
157            "Inf: infinitieth;",
158            "0: zeroth;",
159            "1: first;",
160            "2: second;",
161            "3: third;",
162            "4: fourth;",
163            "5: fifth;",
164            "6: sixth;",
165            "7: seventh;",
166            "8: eighth;",
167            "9: ninth;",
168            "10: tenth;",
169            "11: eleventh;",
170            "12: twelfth;",
171            "13: =%spellout-numbering=th;",
172            "20: twen>%%tieth>;",
173            "30: thir>%%tieth>;",
174            "40: for>%%tieth>;",
175            "50: fif>%%tieth>;",
176            "60: six>%%tieth>;",
177            "70: seven>%%tieth>;",
178            "80: eigh>%%tieth>;",
179            "90: nine>%%tieth>;",
180            "100: <%spellout-numbering< hundred>%%th>;",
181            "1000: <%spellout-numbering< thousand>%%th>;",
182            "1000000: <%spellout-numbering< million>%%th>;",
183            "1000000000: <%spellout-numbering< billion>%%th>;",
184            "1000000000000: <%spellout-numbering< trillion>%%th>;",
185            "1000000000000000: <%spellout-numbering< quadrillion>%%th>;",
186            "1000000000000000000: =#,##0=.;",
187            "%%and-o:",
188            "0: th;",
189            "1: ' and =%spellout-ordinal-verbose=;",
190            "100: ' =%spellout-ordinal-verbose=;",
191            "%%commas-o:",
192            "0: th;",
193            "1: ' and =%spellout-ordinal-verbose=;",
194            "100: , =%spellout-ordinal-verbose=;",
195            "1000: , <%spellout-cardinal-verbose< thousand>%%commas-o>;",
196            "1000000: , =%spellout-ordinal-verbose=;",
197            "%spellout-ordinal-verbose:",
198            "-x: minus >>;",
199            "x.x: =#,##0.#=;",
200            "Inf: infinitieth;",
201            "0: =%spellout-ordinal=;",
202            "100: <%spellout-numbering-verbose< hundred>%%and-o>;",
203            "1000: <%spellout-numbering-verbose< thousand>%%and-o>;",
204            "100000/1000: <%spellout-numbering-verbose< thousand>%%commas-o>;",
205            "1000000: <%spellout-numbering-verbose< million>%%commas-o>;",
206            "1000000000: <%spellout-numbering-verbose< billion>%%commas-o>;",
207            "1000000000000: <%spellout-numbering-verbose< trillion>%%commas-o>;",
208            "1000000000000000: <%spellout-numbering-verbose< quadrillion>%%commas-o>;",
209            "1000000000000000000: =#,##0=.;",
210        }
211    }
212    Version{"2.1.21.55"}
213}
214