Commit Graph

127 Commits

Author SHA1 Message Date
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
George Rhoten
bdd46debb0 ICU-3718 Fix a memory initialization error
X-SVN-Rev: 15439
2004-05-20 21:14:06 +00:00
Eric Mader
abefef5844 ICU-3770 Updated copyright notices for ICU 3.0
X-SVN-Rev: 15411
2004-05-19 20:42:44 +00:00
Alan Liu
6ce395572d ICU-3500 fix compiler warnings
X-SVN-Rev: 15096
2004-04-29 18:54:22 +00:00
Alan Liu
72b466d350 ICU-2334 fix logic for decimal presence & sig digits
X-SVN-Rev: 15093
2004-04-29 05:57:38 +00:00
Alan Liu
1db13e2b86 ICU-2825 add Measure, MeasureUnit, CurrencyUnit, and CurrencyAmount classes, and operate through them
X-SVN-Rev: 15059
2004-04-27 21:47:09 +00:00
Alan Liu
461f739085 ICU-2825 first implementation of MeasureFormat
X-SVN-Rev: 15015
2004-04-21 18:05:06 +00:00
Alan Liu
9cca22e331 ICU-2825 add support for formatting and parsing currency amounts
X-SVN-Rev: 14978
2004-04-15 06:20:42 +00:00
Alan Liu
e1b4d36b9f ICU-2334 rename some API
X-SVN-Rev: 14941
2004-04-12 23:37:44 +00:00
Alan Liu
8cc0c7011e ICU-2334 add public set/isSignificantDigits API; add min/max/useSignificantDigits fields
X-SVN-Rev: 14849
2004-04-03 17:56:14 +00:00
Alan Liu
1950e4123f ICU-3668 make getRoundingMode const
X-SVN-Rev: 14810
2004-03-31 22:09:40 +00:00
Alan Liu
689390169c ICU-3668 make getters const
X-SVN-Rev: 14798
2004-03-29 23:23:04 +00:00
Alan Liu
2dae948bb0 ICU-2334 implement significant digits
X-SVN-Rev: 14762
2004-03-25 17:42:28 +00:00
Alan Liu
d0393ac474 ICU-3089 disallow unquoted specials in suffix
X-SVN-Rev: 14555
2004-02-20 19:38:59 +00:00
Alan Liu
f5a3aee7f2 ICU-3399 add UErrorCode to setCurrency; cleanup
X-SVN-Rev: 14509
2004-02-13 01:53:12 +00:00
Alan Liu
357b3fd941 ICU-2823 update docs for pad characters
X-SVN-Rev: 14480
2004-02-11 00:00:18 +00:00
Doug Felt
a0bcf427af ICU-3222 fix compiler warnings
X-SVN-Rev: 13930
2003-12-02 01:55:53 +00:00
Vladimir Weinstein
09d453333b ICU-3382 change ucurr_forLocale to take a fill in parameter
X-SVN-Rev: 13719
2003-11-13 23:24:45 +00:00
Steven R. Loomis
bdb879222e ICU-3357 define U_INT64_MIN, U_INT64_MAX, and U_UINT64_MAX
X-SVN-Rev: 13577
2003-11-05 01:49:45 +00:00
Doug Felt
e5a79dc60c ICU-813 int64 formatting support
X-SVN-Rev: 13547
2003-10-31 22:47:25 +00:00
Doug Felt
3f812b4d59 ICU-2552 number of zeros
X-SVN-Rev: 13520
2003-10-29 00:20:05 +00:00
George Rhoten
492d57ac79 ICU-3221 Fix AIX linker warnings
X-SVN-Rev: 12997
2003-08-31 20:53:46 +00:00
George Rhoten
7a2de521f8 ICU-2256 Performance enhancement.
Make ustdio %e start up faster, especially since it's not using currency data.

X-SVN-Rev: 12782
2003-08-07 19:01:31 +00:00
George Rhoten
70cf40862e ICU-2256 Performance enhancement.
Make ustdio %e start up faster, especially since it's not using currency data.

X-SVN-Rev: 12622
2003-07-12 00:23:05 +00:00
George Rhoten
c320d27f7e ICU-2699 Fix some compiler warnings.
X-SVN-Rev: 12479
2003-06-11 23:02:19 +00:00
George Rhoten
cbfd3c445e ICU-2699 Fix some compiler warnings.
X-SVN-Rev: 12445
2003-06-11 01:31:09 +00:00
Steven R. Loomis
ad141400ac ICU-2840 don't crash w/o data
X-SVN-Rev: 12307
2003-06-05 00:00:07 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
Alan Liu
c6c5b18a6d ICU-2889 fix adoptDecimalFormatSymbols
X-SVN-Rev: 12111
2003-05-26 20:21:40 +00:00
Alan Liu
9cd19fa781 ICU-2892 don't run past end
X-SVN-Rev: 12006
2003-05-19 21:06:22 +00:00
Alan Liu
23a8673212 ICU-2892 do literal whitespace match before parsing runs
X-SVN-Rev: 12004
2003-05-19 20:04:57 +00:00