Commit Graph

157 Commits

Author SHA1 Message Date
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
Andy Heninger
0852cc4e73 ICU-7572 Decimal Format UNUM_ROUND_UNNECESSARY implmenentation.
X-SVN-Rev: 29959
2011-05-02 19:15:03 +00:00
Markus Scherer
70ad6b4a74 ICU-7386 merge NumberFormat::EStyles into UNumberFormatStyles & improve NumberFormat::makeInstance() memory management
X-SVN-Rev: 29920
2011-04-29 00:00:47 +00:00
Markus Scherer
9774441e40 ICU-8491 remove uprv_isRuleWhiteSpace(c)
X-SVN-Rev: 29900
2011-04-26 06:39:29 +00:00
John Emmons
40f80afaaa ICU-8424 Merge current CLDR trunk to 4.8M1 as CLDR 1.9.9
X-SVN-Rev: 29637
2011-03-12 14:57:18 +00:00
Eric Mader
206c946267 ICU-8407 Use a case-insensitive compare when matching the exponent symbol.
X-SVN-Rev: 29551
2011-03-07 20:02:28 +00:00
Dragan Besevic
21685ff673 ICU-8364 Check the return code when creating hashtable and return null in the case of failure
X-SVN-Rev: 29502
2011-03-01 20:55:43 +00:00
Michael Ow
da1272de57 ICU-7447 Fix some GCC and VA compiler warnings.
X-SVN-Rev: 28778
2010-10-08 20:14:26 +00:00
John Emmons
1974269a6f ICU-7724 Merge support for non-contiguous numbering systems
X-SVN-Rev: 28466
2010-08-13 21:23:00 +00:00
Steven R. Loomis
592b73e980 ICU-7502 fix ASCIIsms - merge from branch /branches/srl/ascii7502
X-SVN-Rev: 28382
2010-07-28 16:08:12 +00:00
Jason Spieth
6f718f78eb ICU-7654 Merge branch into trunk.
X-SVN-Rev: 28282
2010-07-06 16:35:34 +00:00
John Emmons
bd2a89a232 ICU-7599 Add support for alternate symbols per numbering system
X-SVN-Rev: 28134
2010-06-04 18:29:02 +00:00
Michael Grady
fa477f8a22 ICU-7667 In DecimalFormat::_format, deal with cases where two forms of rounding are specified - number of digits _and_ a rounding increment
X-SVN-Rev: 28132
2010-06-04 05:42:19 +00:00
Markus Scherer
fd376b34c0 ICU-7496 add internal char * string class for C++ implementation code
X-SVN-Rev: 28082
2010-05-20 21:16:44 +00:00
Andy Heninger
4e56218eb1 ICU-5193 Big decimal number formatting.
X-SVN-Rev: 27696
2010-02-26 02:29:00 +00:00
Markus Scherer
81234fecdb ICU-7273 add loading of custom data, with caching, test data and test code
X-SVN-Rev: 27578
2010-02-16 23:43:22 +00:00
Doug Felt
bd8eb26d17 ICU-7391 changed ref to pointer in APIs taking FieldPositionIterator, cleaned whitespace
X-SVN-Rev: 27433
2010-01-28 19:39:24 +00:00
Peter Edberg
f0c9ad0b41 ICU-7295 subparse hangs with fGroupingUsed TRUE but 0-length grouping separator
X-SVN-Rev: 27415
2010-01-26 08:51:23 +00:00
Peter Edberg
ccfd885876 ICU-7322 Get rid of friend declaration for internal plain-C comparotor functions
X-SVN-Rev: 27304
2010-01-16 19:59:59 +00:00
Andy Heninger
a31448aab8 ICU-5193 API additions for big decimal formatting. Implementation not there yet.
X-SVN-Rev: 27287
2010-01-15 22:28:39 +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
Peter Edberg
0c1c7aad2b ICU-7280 Move U_CDECL_END down to include function definitions as well as declarations.
X-SVN-Rev: 27064
2009-12-14 05:57:34 +00:00
Steven R. Loomis
712b165172 ICU-6930 IBM i updates: Merging r26624 through r26636 of /icu/branches/srl/i6930
X-SVN-Rev: 26637
2009-09-16 01:08:54 +00:00
Michael Ow
ddc3287efd ICU-4954 Use skipRuleWhiteSpace after white space check.
X-SVN-Rev: 26610
2009-09-08 16:42:54 +00:00
Xiaomei Ji
9e2a008374 ICU-6799 fix C++ compilation error due to hash value comparator in decimfmt.h and dtitvinf.h. remove static qualifier. since they are marked as internal, they wont be exposed
X-SVN-Rev: 25812
2009-04-17 18:52:52 +00:00
Steven R. Loomis
9eb9dd4c83 ICU-6799 fix many warnings, improve tests
X-SVN-Rev: 25772
2009-04-15 01:57:02 +00:00
Xiaomei Ji
1f2dcc4fb2 ICU-6433 currency parsing, case sensitive against symbol and ISO, case insensitive against name; parse against plural pattern using names only
X-SVN-Rev: 25540
2009-03-10 20:53:27 +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
Jason Spieth
de7d1f06de ICU-6354 Set default rounding increment, C implementation
X-SVN-Rev: 25241
2009-01-13 16:58:35 +00:00
Steven R. Loomis
6b25b2f485 ICU-6367 whitespace again. If UWhiteSpace is skipped in the input text, skip it also in the pattern.
X-SVN-Rev: 24247
2008-06-20 00:43:45 +00:00
George Rhoten
de6512a9c1 ICU-6132 Undo some unneccessary changes. Remove some tabs. Make sure that the UErrorCode is propagated when possible. When a UErrorCode is available, don't check for a NULL return value.
X-SVN-Rev: 23479
2008-02-23 19:15:18 +00:00
Andrew J Macheret
7a0b18985e ICU-5491 fixed a problem with negative multipliers, added tests for it
X-SVN-Rev: 23351
2008-02-05 04:25:48 +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
853d42f9a4 ICU-6132 Add check for dereferencing of internal null pointers fSymbols and fRoundingIncrement.
X-SVN-Rev: 23204
2008-01-11 18:44:41 +00:00
George Rhoten
3ea75f4cae ICU-5545 Synchronize DecimalFormat::setMultiplier with ICU4J.
X-SVN-Rev: 22023
2007-07-17 22:39:44 +00:00
George Rhoten
dbb58ee5cb ICU-5581 Fix formatting crash after setting a prefix or suffix of a currency format.
X-SVN-Rev: 22019
2007-07-17 21:46:59 +00:00
Deborah Goldsmith
5369d809be ICU-5350 Fix decimal rounding
X-SVN-Rev: 21647
2007-06-06 01:17:15 +00:00
George Rhoten
4706047498 ICU-5101 Test and prevent code from crashing when prefix and suffix are changed on a currency format. The prefix and suffix are still not settable when a currency is used, and the applyPattern must still be used when using currency formats.
X-SVN-Rev: 21145
2007-03-02 00:28:09 +00:00
George Rhoten
a5762bea29 ICU-5032 Remove untestable code. symbolsToAdopt can't be NULL, and the else branch does the same thing.
X-SVN-Rev: 20002
2006-08-08 21:39:04 +00:00
George Rhoten
9c874f2cc1 ICU-5257 Give the correct parse position when parsing currency numbers.
X-SVN-Rev: 19817
2006-07-10 23:40:17 +00:00
Deborah Goldsmith
de8c6c14f3 ICU-4985 currency rounding/fractions no longer ignored
X-SVN-Rev: 19604
2006-05-03 00:00:34 +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
Eric Mader
41ca4f63ee ICU-4428 update copyright notices for ICU 3.3.
X-SVN-Rev: 17296
2005-03-08 22:49:59 +00:00
George Rhoten
563181b765 ICU-739 Make it easier to build ICU on Windows where WIN32 is defined, but WIN32 is not the target.
X-SVN-Rev: 17209
2005-02-17 00:10:29 +00:00
Andy Heninger
665e553354 ICU-4161 remove tabs from source code
X-SVN-Rev: 16829
2004-11-11 23:34:58 +00:00
George Rhoten
9fe39e1c8c ICU-3805 Break putil.h/utypes.h header file dependancy loop
X-SVN-Rev: 16529
2004-10-18 02:43:33 +00:00
George Rhoten
e69fca9d5f ICU-4078 Fix for AIX with Visual Age 5 compiler, and make sure that the
disentanglement is correct by putting all the UnicodeSet virtual functions are
in one file. Also move some of the rule whitespace handling into better
locations.

X-SVN-Rev: 16519
2004-10-15 22:56:26 +00:00
George Rhoten
95873dd022 ICU-4084 Improve DateFormat construction performance.
X-SVN-Rev: 16247
2004-09-02 19:08:28 +00:00
Alan Liu
b2697fc485 ICU-3399 restore setCurrency variant with no UErrorCode
X-SVN-Rev: 15595
2004-05-27 22:03:26 +00:00