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. |
(...skipping 17 matching lines...) Expand all Loading... |
28 DEF_CURRENCY_CODE; | 28 DEF_CURRENCY_CODE; |
29 | 29 |
30 const NumberSymbols({this.NAME, this.DECIMAL_SEP, this.GROUP_SEP, | 30 const NumberSymbols({this.NAME, this.DECIMAL_SEP, this.GROUP_SEP, |
31 this.PERCENT, this.ZERO_DIGIT, this.PLUS_SIGN, this.MINUS_SIGN, | 31 this.PERCENT, this.ZERO_DIGIT, this.PLUS_SIGN, this.MINUS_SIGN, |
32 this.EXP_SYMBOL, this.PERMILL, this.INFINITY, this.NAN, | 32 this.EXP_SYMBOL, this.PERMILL, this.INFINITY, this.NAN, |
33 this.DECIMAL_PATTERN, this.SCIENTIFIC_PATTERN, this.PERCENT_PATTERN, | 33 this.DECIMAL_PATTERN, this.SCIENTIFIC_PATTERN, this.PERCENT_PATTERN, |
34 this.CURRENCY_PATTERN, this.DEF_CURRENCY_CODE}); | 34 this.CURRENCY_PATTERN, this.DEF_CURRENCY_CODE}); |
35 | 35 |
36 toString() => NAME; | 36 toString() => NAME; |
37 } | 37 } |
OLD | NEW |