Commit Graph

102 Commits

Author SHA1 Message Date
George Rhoten
5eed55e9a5 ICU-13306 Move rounding mode API to superclass as per technical committee review comments.
X-SVN-Rev: 40347
2017-08-23 17:38:00 +00:00
George Rhoten
e3ac9c5561 ICU-13306 Can not get and set rounding attributes for RBNF with C API
X-SVN-Rev: 40343
2017-08-17 23:21:03 +00:00
William Zhao
d847a21238 ICU-13275 Merge warning cleanup fixes into trunk
X-SVN-Rev: 40283
2017-07-22 01:11:59 +00:00
Andy Heninger
242e02c388 ICU-12764 icu4c utf-8 source files, update Copyright notices.
X-SVN-Rev: 39583
2017-01-20 00:20:31 +00:00
Peter Edberg
32ca386c27 ICU-12684 Add unum_formatDoubleForFields and test
X-SVN-Rev: 39565
2017-01-16 19:48:33 +00:00
Michael Ow
61607c2773 ICU-12564 Update copyright notice in trunk
X-SVN-Rev: 38848
2016-06-15 18:58:17 +00:00
Yoshito Umaoka
00ca13e126 ICU-12564 Reverted r38761 and r38762, because we want to prepend the Unicode copyright for existing source files, instead of replacing copyright comments.
X-SVN-Rev: 38776
2016-05-31 21:45:07 +00:00
Michael Ow
c9f199a30f ICU-12564 Update copyright notice in ICU4C
X-SVN-Rev: 38761
2016-05-26 22:32:17 +00:00
Peter Edberg
5d1a2fa6bd ICU-11787 Add support for UNUM_CURRENCY_STANDARD and locale u-ext key -cf- (C)
X-SVN-Rev: 37935
2015-09-10 05:40:20 +00:00
Peter Edberg
15ee90b9a3 ICU-11693 C support for CompactDecimalFormat, via UNumberFormatStyle additions
X-SVN-Rev: 37612
2015-06-23 18:09:52 +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
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