LEFT | RIGHT |
(Both sides are equal) |
1 // © 2016 and later: Unicode, Inc. and others. | 1 // © 2016 and later: Unicode, Inc. and others. |
2 // License & terms of use: http://www.unicode.org/copyright.html#License | 2 // License & terms of use: http://www.unicode.org/copyright.html#License |
3 /* | 3 /* |
4 ******************************************************************************* | 4 ******************************************************************************* |
5 * Copyright (C) 2001-2010, International Business Machines Corporation and * | 5 * Copyright (C) 2001-2010, International Business Machines Corporation and * |
6 * others. All Rights Reserved. * | 6 * others. All Rights Reserved. * |
7 ******************************************************************************* | 7 ******************************************************************************* |
8 */ | 8 */ |
9 | 9 |
10 /** | 10 /** |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 DecimalFormat df = new DecimalFormat(pattern, sym); | 134 DecimalFormat df = new DecimalFormat(pattern, sym); |
135 StringBuffer buffer = new StringBuffer(""); | 135 StringBuffer buffer = new StringBuffer(""); |
136 FieldPosition pos = new FieldPosition(-1); | 136 FieldPosition pos = new FieldPosition(-1); |
137 buffer = df.format(value, buffer, pos); | 137 buffer = df.format(value, buffer, pos); |
138 if(!buffer.toString().equals(expected)){ | 138 if(!buffer.toString().equals(expected)){ |
139 errln("ERROR: format failed after setSymbols()\n Expected" + | 139 errln("ERROR: format failed after setSymbols()\n Expected" + |
140 expected + ", Got " + buffer); | 140 expected + ", Got " + buffer); |
141 } | 141 } |
142 } | 142 } |
143 } | 143 } |
LEFT | RIGHT |