OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 library number_symbols; | 4 #library("number_symbols"); |
5 | 5 |
6 /** | 6 /** |
7 * This holds onto information about how a particular locale formats numbers. It | 7 * This holds onto information about how a particular locale formats numbers. It |
8 * contains strings for things like the decimal separator, digit to use for "0" | 8 * contains strings for things like the decimal separator, digit to use for "0" |
9 * and infinity. We expect the data for instances to be generated out of ICU | 9 * and infinity. We expect the data for instances to be generated out of ICU |
10 * or a similar reference source. | 10 * or a similar reference source. |
11 */ | 11 */ |
12 | 12 |
13 class NumberSymbols { | 13 class NumberSymbols { |
14 final String NAME; | 14 final String NAME; |
(...skipping 13 matching lines...) Expand all Loading... |
28 this.INFINITY, | 28 this.INFINITY, |
29 this.NAN, | 29 this.NAN, |
30 this.DECIMAL_PATTERN, | 30 this.DECIMAL_PATTERN, |
31 this.SCIENTIFIC_PATTERN, | 31 this.SCIENTIFIC_PATTERN, |
32 this.PERCENT_PATTERN, | 32 this.PERCENT_PATTERN, |
33 this.CURRENCY_PATTERN, | 33 this.CURRENCY_PATTERN, |
34 this.DEF_CURRENCY_CODE}); | 34 this.DEF_CURRENCY_CODE}); |
35 | 35 |
36 toString() => NAME; | 36 toString() => NAME; |
37 } | 37 } |
OLD | NEW |