bug 61049 fix ordering of builtin formulas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1792918 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9896e13bf4
commit
5f567f29a1
@ -113,8 +113,8 @@ public final class BuiltinFormats {
|
|||||||
"#,##0_);[Red](#,##0)",
|
"#,##0_);[Red](#,##0)",
|
||||||
"#,##0.00_);(#,##0.00)",
|
"#,##0.00_);(#,##0.00)",
|
||||||
"#,##0.00_);[Red](#,##0.00)",
|
"#,##0.00_);[Red](#,##0.00)",
|
||||||
"_(\"$\"* #,##0_);_(\"$\"* (#,##0);_(\"$\"* \"-\"_);_(@_)",
|
|
||||||
"_(* #,##0_);_(* (#,##0);_(* \"-\"_);_(@_)",
|
"_(* #,##0_);_(* (#,##0);_(* \"-\"_);_(@_)",
|
||||||
|
"_(\"$\"* #,##0_);_(\"$\"* (#,##0);_(\"$\"* \"-\"_);_(@_)",
|
||||||
"_(* #,##0.00_);_(* (#,##0.00);_(* \"-\"??_);_(@_)",
|
"_(* #,##0.00_);_(* (#,##0.00);_(* \"-\"??_);_(@_)",
|
||||||
"_(\"$\"* #,##0.00_);_(\"$\"* (#,##0.00);_(\"$\"* \"-\"??_);_(@_)",
|
"_(\"$\"* #,##0.00_);_(\"$\"* (#,##0.00);_(\"$\"* \"-\"??_);_(@_)",
|
||||||
"mm:ss",
|
"mm:ss",
|
||||||
|
@ -55,8 +55,8 @@ public final class TestFormatTrackingHSSFListener {
|
|||||||
public void testFormats() throws Exception {
|
public void testFormats() throws Exception {
|
||||||
processFile("MissingBits.xls");
|
processFile("MissingBits.xls");
|
||||||
|
|
||||||
assertEquals("_(\"$\"* #,##0_);_(\"$\"* (#,##0);_(\"$\"* \"-\"_);_(@_)", listener.getFormatString(41));
|
assertEquals("_(* #,##0_);_(* (#,##0);_(* \"-\"_);_(@_)", listener.getFormatString(41));
|
||||||
assertEquals("_(* #,##0_);_(* (#,##0);_(* \"-\"_);_(@_)", listener.getFormatString(42));
|
assertEquals("_(\"$\"* #,##0_);_(\"$\"* (#,##0);_(\"$\"* \"-\"_);_(@_)", listener.getFormatString(42));
|
||||||
assertEquals("_(* #,##0.00_);_(* (#,##0.00);_(* \"-\"??_);_(@_)", listener.getFormatString(43));
|
assertEquals("_(* #,##0.00_);_(* (#,##0.00);_(* \"-\"??_);_(@_)", listener.getFormatString(43));
|
||||||
assertEquals("_(\"$\"* #,##0.00_);_(\"$\"* (#,##0.00);_(\"$\"* \"-\"??_);_(@_)", listener.getFormatString(44));
|
assertEquals("_(\"$\"* #,##0.00_);_(\"$\"* (#,##0.00);_(\"$\"* \"-\"??_);_(@_)", listener.getFormatString(44));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user