Commit Graph

89 Commits

Author SHA1 Message Date
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Craig Cornelius
75dbee791e ICU-11735 Add test to verify that ICU4C behaves correctly.
X-SVN-Rev: 38394
2016-02-26 23:59:20 +00:00
Travis Keep
bc33f20e3c ICU-11740 Add more tests to prove that this change resolves other tickets.
X-SVN-Rev: 37843
2015-08-28 18:38:37 +00:00
Travis Keep
e837bd4f7f ICU-11868 Add test that was failing with the legacy DecimalFormat code.
X-SVN-Rev: 37835
2015-08-27 18:03:18 +00:00
Travis Keep
2860cd48c4 ICU-11740 DecimalFormat refactor.
X-SVN-Rev: 37821
2015-08-25 23:31:01 +00:00
Travis Keep
762078d2f1 ICU-11692 Add DecimalFormat data driven tests.
X-SVN-Rev: 37471
2015-05-28 20:09:43 +00:00
Travis Keep
06223fc789 ICU-11524 Fix inconsistency between fastpath and slowpath for when maxIntDigit = 0.
X-SVN-Rev: 37026
2015-02-12 21:45:27 +00:00
Andy Heninger
ff85125d2f ICU-11439 Improve portability of DecimalFormat::getFixedDecimal().
X-SVN-Rev: 36893
2014-12-18 22:46:45 +00:00
Tom Zhang
985f42b752 ICU-10344 add new field & factory method for currency CASH/STANDARD Usage
X-SVN-Rev: 35873
2014-06-12 21:40:34 +00:00
Peter Edberg
24a8cc84f4 ICU-5186 Make DecimalFormat::operator== much more complete
X-SVN-Rev: 35312
2014-03-04 05:54:16 +00:00
Yoshito Umaoka
cfd57abf79 ICU-10601 Added UNUM_CURRENCY_ACCOUNTING to ICU4C NumberFormat.
X-SVN-Rev: 35198
2014-02-22 00:16:56 +00:00
Travis Keep
fcde5a4621 ICU-10547 Format -0.0 as a negative when using scientific notation.
X-SVN-Rev: 35196
2014-02-21 20:41:39 +00:00
Travis Keep
e1a7ad244f ICU-10545 Added test to verify rounding scientific notation works.
X-SVN-Rev: 34660
2013-11-14 18:57:06 +00:00
Travis Keep
9fa0f4299d ICU-10468 Fix applyPattern so that it resets the padding character.
X-SVN-Rev: 34578
2013-10-17 18:44:44 +00:00
Travis Keep
18b6e9fc60 ICU-10419 Fix rounding in NumberFormat.
X-SVN-Rev: 34549
2013-10-10 21:49:53 +00:00
Peter Edberg
8997c77684 ICU-10161 Now compareSimpleAffix ignores LRM/RLM/ALM in affix or text when comparing them;
and pre-integrate some CLDR 24 number symbol & pattern changes so tests will match the new data.

X-SVN-Rev: 34186
2013-09-04 10:46:03 +00:00
Yoshito Umaoka
b0eaf25682 ICU-9526 Fixed a parsing problem with custom monetary gouping separator. Fixed some bad coding style. Added a test case for testing custom symbols.
X-SVN-Rev: 34069
2013-08-20 20:51:31 +00:00
Travis Keep
41b7ee189d ICU-10258 Parse different variations of '+' and '-' when isLenient is set in C++.
X-SVN-Rev: 33989
2013-07-25 17:58:37 +00:00
Steven R. Loomis
ae061ff78f ICU-7912 C wrapper for Formattable - UFormattable
X-SVN-Rev: 33849
2013-06-26 06:31:09 +00:00
Steven R. Loomis
2c6bc98b14 ICU-10069 improve error messages, add commented-out case that passes on solaris and fails on others
X-SVN-Rev: 33838
2013-06-20 22:09:42 +00:00
Andy Heninger
5ea9cb88a5 ICU-9936 Decimal Format, auto-enable SignificantDigitsUsed when setting significant digits.
X-SVN-Rev: 33833
2013-06-17 18:49:28 +00:00
Travis Keep
6676337f3e ICU-10069 Take into account compatible currency symbols, e.g half-width and full width yen symbol when parsing currencies in C++. Currency equivalence relation is hard-coded for now.
X-SVN-Rev: 33825
2013-06-13 18:38:53 +00:00
Travis Keep
21ed20e983 ICU-10045 Fix again so that zero shows as 0 not 0.0
X-SVN-Rev: 33751
2013-05-24 22:45:48 +00:00
Travis Keep
6125cf2eff ICU-10045 Formatting with significant digits to work correctly with 0 in C++
X-SVN-Rev: 33485
2013-04-02 22:01:33 +00:00
Steven R. Loomis
4297072ccd ICU-9714 now builds clean on IBM i- fix some test cases for ASCIIsms, fix formattable buffer size
X-SVN-Rev: 32905
2012-11-29 01:09:50 +00:00
Michael Ow
799a603abc ICU-9613 Merge from branch to trunk
X-SVN-Rev: 32622
2012-10-12 19:52:43 +00:00
Steven R. Loomis
43b918a0c8 ICU-9258 merge from branches, performance improvements
X-SVN-Rev: 31881
2012-05-30 00:41:57 +00:00
John Emmons
b8281ee69e ICU-9087 Add special case for +-infinity in DigitList::set()
X-SVN-Rev: 31403
2012-02-17 04:00:49 +00:00
Michael Ow
52af04fed7 ICU-7464 Apply fix to incorrect number rounding when rounding increment is in the string pattern of the decimal formatter in ICU4C
X-SVN-Rev: 31378
2012-02-13 19:23:47 +00:00
John Emmons
c651458559 ICU-8656 Implement NumberingSystem::getAvailableNames()
X-SVN-Rev: 30476
2011-08-08 16:03:37 +00:00
Peter Edberg
332037ef5b ICU-6109 & #4942,#3579: Merge changes for lenient number & date parsing from branches/eric/lenient_number_parsing (manually!)
X-SVN-Rev: 30018
2011-05-04 12:23:42 +00:00
John Emmons
4b8773457a ICU-8031 Support for parent locales
X-SVN-Rev: 29443
2011-02-16 13:46:19 +00:00
Jason Spieth
6f718f78eb ICU-7654 Merge branch into trunk.
X-SVN-Rev: 28282
2010-07-06 16:35:34 +00:00
Yoshito Umaoka
8096281cc9 ICU-7282 The problem reported by ticket#7282 is only reproduced in ICU4J. Just adding the equivalent test case to ICU4C.
X-SVN-Rev: 28112
2010-05-28 16:45:11 +00:00
Andy Heninger
4e56218eb1 ICU-5193 Big decimal number formatting.
X-SVN-Rev: 27696
2010-02-26 02:29:00 +00:00
Doug Felt
aeff93d2f5 ICU-7372 fix bug and add test
X-SVN-Rev: 27386
2010-01-22 22:44:29 +00:00
Doug Felt
52c23e0a47 ICU-6192 add support for getting field positions to NumberFormat and DateFormat
X-SVN-Rev: 27093
2009-12-17 22:15:20 +00:00
Xiaomei Ji
6ed81b63d3 ICU-6433 improve currency parsing, fix parsing bug on non-empty suffix, fix plural format bug on non-empty negagtive numberpattern
X-SVN-Rev: 25497
2009-02-28 02:07:55 +00:00
Xiaomei Ji
45071a142b ICU-6433 from branch to trunk for API slush
X-SVN-Rev: 25399
2009-02-12 22:55:29 +00:00
John Emmons
12a4ad5e0f ICU-6694 Fix to numfmt testcase so it doesn't assume decimfmt on rbnfs
X-SVN-Rev: 25290
2009-01-22 20:56:32 +00:00
John Emmons
6070262c2f ICU-6694 Implementation of numbering systems and the @numbers keyword
X-SVN-Rev: 25285
2009-01-22 04:46:35 +00:00
Michael Ow
b88911b137 ICU-6412 Fix some copyright date.
X-SVN-Rev: 24665
2008-09-26 21:25:04 +00:00
Andrew J Macheret
6c2161e7bd ICU-5491 put back functionality for negative multipliers, fixed up some code to handle them correctly, and added tests.
X-SVN-Rev: 23228
2008-01-14 20:10:54 +00:00
Michael Ow
c9e968fbba ICU-5343 Port over TestRounding from ICU4J to ICU4C.
X-SVN-Rev: 22473
2007-08-22 19:58:25 +00:00
George Rhoten
fd263f86cf ICU-5279 Hide DigitList
X-SVN-Rev: 21816
2007-06-24 03:19:59 +00:00
George Rhoten
fc9cf24a18 ICU-5741 Test and fix cloning of Win32NumberFormat and Win32DateFormat
X-SVN-Rev: 21708
2007-06-12 05:20:11 +00:00
George Rhoten
d6e59fa634 ICU-5032 Increase code coverage
X-SVN-Rev: 19917
2006-07-28 19:35:12 +00:00
Eric Mader
ed5ad9b463 ICU-4152 Initial checkin of tests. Aslo bug fixes for bugs that the tests found!
X-SVN-Rev: 19016
2006-01-23 23:25:00 +00:00
Ram Viswanadha
0bdf064c1d ICU-3832 Add support for monetary grouping separator
X-SVN-Rev: 18960
2006-01-09 23:03:31 +00:00
Ram Viswanadha
7d1fac1020 ICU-4452 add coverage tests
X-SVN-Rev: 18251
2005-07-14 23:24:38 +00:00