Commit Graph

91 Commits

Author SHA1 Message Date
Yoshito Umaoka
cfd57abf79 ICU-10601 Added UNUM_CURRENCY_ACCOUNTING to ICU4C NumberFormat.
X-SVN-Rev: 35198
2014-02-22 00:16:56 +00:00
Peter Edberg
67551b09e9 ICU-10676 unum_open should support UNUM_CURRENCY_ISO, UNUM_CURRENCY_PLURAL styles
X-SVN-Rev: 35093
2014-02-06 06:31:50 +00:00
Peter Edberg
2bf11e889d ICU-10628 Use (const DateFormat*)fmt in udat_getContext, (const NumberFormat*)fmt in unum_getContext
X-SVN-Rev: 34916
2014-01-16 22:46:04 +00:00
Peter Edberg
1865fa1670 ICU-10574 part 1, just API and setContext/getContext implementation
X-SVN-Rev: 34886
2014-01-14 07:31:30 +00:00
Steven R. Loomis
02d576bc82 ICU-7912 one last (?) review comment
X-SVN-Rev: 34436
2013-09-21 00:06:02 +00:00
Steven R. Loomis
4650ca64e3 ICU-7912 commit from review comments (thx)
X-SVN-Rev: 34416
2013-09-20 05:00:30 +00:00
Steven R. Loomis
06dcb5d4a6 ICU-7912 add parse/format functions, other UFormattable API improvements
X-SVN-Rev: 33894
2013-07-09 00:47:46 +00:00
Steven R. Loomis
2fa49ba635 ICU-7912 add unum_parse and unum_format taking UFormattable (@internal, API proposal to follow)
X-SVN-Rev: 33862
2013-06-27 19:49:55 +00:00
Michael Ow
799a603abc ICU-9613 Merge from branch to trunk
X-SVN-Rev: 32622
2012-10-12 19:52:43 +00:00
Peter Edberg
b72359eca5 ICU-9623 ICU4C 50 API promotions, fix U_DRAFT -> U_STABLE as needed in .h, fix U_DRAFT -> U_CAPI in .c/cpp
X-SVN-Rev: 32547
2012-10-08 05:16:32 +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
Peter Edberg
faced7a2f0 ICU-8697 C review fixes: correct UnicodeString constructor, use LocalPointer, use ParsePosition.getIndex() to test errs
X-SVN-Rev: 31509
2012-02-24 20:27:21 +00:00
Peter Edberg
05b2ae1381 ICU-8697 C, change parseCurrency methods to return CurrencyAmount*, make draft ICU 49
X-SVN-Rev: 31440
2012-02-19 06:45:47 +00:00
Yoshito Umaoka
e9503bdade ICU-8909 Fixed various warnings reported by a source code analysis tool.
X-SVN-Rev: 30958
2011-11-14 19:32:51 +00:00
Markus Scherer
2201fb816c ICU-7877 optionally explicit UnicodeString constructors, and make them explicit inside ICU
X-SVN-Rev: 30293
2011-07-07 18:46:19 +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
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
Michael Ow
934d73b4ea ICU-8218 Fix symbol value check
X-SVN-Rev: 29683
2011-03-22 16:58:58 +00:00
Andy Heninger
801abaa192 ICU-7892 add missing implementation for unum_parseDecimal() and unum_formatDecimal().
X-SVN-Rev: 28789
2010-10-12 05:11:41 +00:00
Andy Heninger
9b68c719ad ICU-7216 Fix possible memory leak in error case.
X-SVN-Rev: 28168
2010-06-10 17:53:26 +00:00
Markus Scherer
f6a04770ff ICU-7455 use compiler RTTI; stop adding poor mans RTTI to new class hierarchies
X-SVN-Rev: 28075
2010-05-19 17:29:33 +00:00
Claire Ho
9f7990c11a ICU-7216 Add U_FAILURE check in unum_open()
X-SVN-Rev: 27884
2010-03-30 21:46:11 +00:00
Peter Edberg
64f350c92a ICU-6734 unum_parse does not report parse errors for rule-based number formatters
X-SVN-Rev: 25442
2009-02-19 08:41:08 +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
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
Michael Ow
4667cbc378 ICU-6132 Check null pointer before dereferencing in unesctrn, unistr, and unum.
X-SVN-Rev: 23253
2008-01-16 22:58:59 +00:00
George Rhoten
9ce90e2c18 ICU-5856 Promote @draft API to @stable for ICU 3.8 release, and make sure that the existing API is labeled correctly.
X-SVN-Rev: 22422
2007-08-19 08:59:28 +00:00
George Rhoten
1c9a993999 ICU-4161 Properly indent the code.
X-SVN-Rev: 16839
2004-11-12 07:07:41 +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
ded716bf2c ICU-4017 Fix failure behavior of explicitly requested non-existent currency
X-SVN-Rev: 16133
2004-08-09 07:07:33 +00:00
George Rhoten
37c5efea11 ICU-3688 Fix UNUM_SECONDARY_GROUPING_SIZE
X-SVN-Rev: 16044
2004-07-18 10:22:23 +00:00
Steven R. Loomis
617cee06dd ICU-3831 uconfig.h fixes
X-SVN-Rev: 15841
2004-06-10 23:49:07 +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
c879b59862 ICU-2825 add unum_formatDoubleCurrency and unum_parseDoubleCurrency
X-SVN-Rev: 14984
2004-04-15 18:15:17 +00:00
Alan Liu
f667e25fdf ICU-2334 add UNUM_SIGNIFICANT_DIGITS_USED
X-SVN-Rev: 14942
2004-04-12 23:38:01 +00:00
Alan Liu
09d688a683 ICU-3668 eliminate unnecessary casts
X-SVN-Rev: 14811
2004-03-31 22:10:06 +00:00
Alan Liu
1a057ed7e4 ICU-3668 make C getters take const object pointer
X-SVN-Rev: 14788
2004-03-27 07:21:32 +00:00
Alan Liu
06c4bd41f3 ICU-3667 prefer UErrorCode& to UErrorCode* in C++ API
X-SVN-Rev: 14785
2004-03-27 04:49:02 +00:00
Alan Liu
2dae948bb0 ICU-2334 implement significant digits
X-SVN-Rev: 14762
2004-03-25 17:42:28 +00:00
Doug Felt
ed4dc729f1 ICU-1282 add C APIs for rule based number format
X-SVN-Rev: 14698
2004-03-12 20:15:13 +00:00
Alan Liu
77af4351ac ICU-1462 flesh out unum docs; rename UNUM_IGNORE to UNUM_PATTERN
X-SVN-Rev: 14530
2004-02-17 00:44:06 +00:00
Alan Liu
62b974ace2 ICU-3399 add UErrorCode to setCurrency
X-SVN-Rev: 14511
2004-02-13 01:56:38 +00:00
Alan Liu
91390d5ea7 ICU-2202 preliminary checkin
X-SVN-Rev: 14367
2004-01-20 23:06:38 +00:00
Vladimir Weinstein
8ab4bf13f7 ICU-2202 getLocale implementation for formatting classes and calendar
X-SVN-Rev: 13777
2003-11-19 23:31:45 +00:00
Doug Felt
562a37641a ICU-813 int64 formatting support
X-SVN-Rev: 13757
2003-11-19 04:42:44 +00:00
Vladimir Weinstein
6e6edd96ed ICU-2202 C format *_getLocaleByType API placeholders
X-SVN-Rev: 13731
2003-11-14 21:58:52 +00:00
Doug Felt
6989169362 ICU-813 int64 formatting, unum (C), fmtable (error overloads)
X-SVN-Rev: 13572
2003-11-04 23:10:46 +00:00
George Rhoten
3323e93931 ICU-3053 Similar porting changes for MPRAS
X-SVN-Rev: 12743
2003-08-01 22:28:18 +00:00
George Rhoten
95e93fa9b4 ICU-3053 Porting changes for MPRAS
X-SVN-Rev: 12549
2003-06-23 22:15:00 +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