Commit Graph

60 Commits

Author SHA1 Message Date
Shane Carr
6daab85db4 ICU-20429 Renaming [Number->Formatted]StringBuilder and refactoring.
- StringSegment, ICU4C:
  * Moved to top icu namespace
  * Compilation unit renamed to string_segment.
- NumberStringBuilder, C and J:
  * Moved to main icu namespace
  * Compilation unit renamed to formatted_string_builder
  * Renamed class to FormattedStringBuilder
- Moves nextPosition logic of NumberStringBuilder to helper class
2019-04-05 20:08:07 -05:00
Shane Carr
768b577e6a ICU-20138 Adding FormattedValue APIs in C, C++, and Java.
- Wires up FormattedNumber[Range] in applicable languages.
- Adds new header files and tests, with minor cleanup to old tests.
- Adds code to guarantee terminating NUL in FormattedNumber[Range].
- Cleanup of API docs for inherited methods in FormattedNumber[Range].
2019-01-10 17:02:49 -06:00
Yoshito Umaoka
45cdda61a6
ICU-12973 CLDR Japanese Era data and tentative Japanese new era support (#111)
* Updated era data format in supplementalData.

* Include tentative era names in data. Implemented Japanese era loaded from CLDR data in ICU4J.

* ICU4C implementation, ICU4C refactoring. WIP.

* VS project updates and some bug fixes

Also added API comments.

* Review feedback and bug fixes

- NULL to nullptr
- use of LocalUResourceBundlePointer
- TYPO "name" to "named"
- env var checking stricmp() == 0

* API comment correction based on feedback

* Duplicate the comment in ucal.h to calendar.h

* Fixed spelling errors in API comment
2018-09-27 14:27:39 -07:00
Shane Carr
576fd85602 ICU-13788 Removing obsolete ICU4C NumberTest test fallback.
X-SVN-Rev: 41429
2018-05-22 02:50:58 +00:00
Shane Carr
453788ddfd ICU-13634 Temporarily deleting all old number formatting implementation code. Pieces will be restored as needed. ICU4C builds, including tests, but won't run. Changes in plurfmt.cpp and plurrule.cpp are not tested. numberformat2test.cpp is unlinked but not deleted.
X-SVN-Rev: 41098
2018-03-13 08:12:05 +00:00
Shane Carr
25fed96c72 ICU-13093 Disabling number formatting code on AIX and z/OS due to C++11 compatibility issues.
X-SVN-Rev: 40560
2017-10-05 00:47:38 +00:00
Shane Carr
d7a61a6e91 ICU-13177 NumberFormatter tests are passing.
X-SVN-Rev: 40467
2017-09-27 03:02:02 +00:00
Shane Carr
a88300f273 ICU-13177 NumberFormatter tests are building.
X-SVN-Rev: 40466
2017-09-27 02:16:44 +00:00
Shane Carr
a01fc429cb ICU-13177 Initial commit of ICU4C NumberFormatter
X-SVN-Rev: 40465
2017-09-27 00:25:20 +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
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
Markus Scherer
147ca53163 ICU-11986 enumerate most of the measurement unit formatting data, rather than lookup-with-fallback for each piece; adds necessary fallback on leaf level
X-SVN-Rev: 38082
2015-11-12 22:09:04 +00:00
Travis Keep
2860cd48c4 ICU-11740 DecimalFormat refactor.
X-SVN-Rev: 37821
2015-08-25 23:31:01 +00:00
Travis Keep
59a03bbc9b ICU-11383 Remove ScientificFormatHelper C++
X-SVN-Rev: 36826
2014-12-08 23:25:27 +00:00
Travis Keep
6a15548b08 ICU-10952 Introduce ScientificNumberFormatter.
X-SVN-Rev: 36746
2014-11-18 00:55:15 +00:00
Travis Keep
46c66e0ddb ICU-11009 Add number format specification conformance tests to ICU4C
X-SVN-Rev: 36061
2014-07-18 21:05:06 +00:00
Michael Ow
b1de9c0f30 ICU-10842 Fix header test failures, fix no data test errors, and update file properties
X-SVN-Rev: 35982
2014-07-02 05:09:05 +00:00
Travis Keep
7ed712add5 ICU-10046 Introduce ScientificFormatHelper class.
X-SVN-Rev: 35612
2014-04-09 23:00:45 +00:00
Travis Keep
0a42d4959f ICU-10640 Add C++ MeasureFormat API.
X-SVN-Rev: 35069
2014-02-04 00:29:17 +00:00
Travis Keep
089a6434ac ICU-8464 Add relative date formatting.
X-SVN-Rev: 34686
2013-11-22 18:26:22 +00:00
Yoshito Umaoka
2007dc91e7 ICU-10462 ICU4C Intltest to use America/Los_Angeles as the default time zone instead of PST.
X-SVN-Rev: 34556
2013-10-10 23:02:15 +00:00
John Emmons
013c6db432 ICU-8451 Initial port - Region APIs from Java to C++
X-SVN-Rev: 33048
2013-01-14 18:37:56 +00:00
Travis Keep
161183009a ICU-9543 C++ CompactDecimalFormat moved to trunk.
X-SVN-Rev: 32819
2012-11-14 18:49:38 +00:00
Travis Keep
5786467fb0 ICU-9598 C/C++ implementation of GenderInfo.
X-SVN-Rev: 32527
2012-10-05 19:02:05 +00:00
Umesh Nair
484c465ddf ICU-7168 Implementation of ListFormatter, port from Java
X-SVN-Rev: 32247
2012-08-27 20:14:25 +00:00
Michael Ow
43ab52b074 ICU-7650 Fix uconfig test errors in i18n library and test codes.
X-SVN-Rev: 28037
2010-05-07 07:28:47 +00:00
Andy Heninger
4e56218eb1 ICU-5193 Big decimal number formatting.
X-SVN-Rev: 27696
2010-02-26 02:29:00 +00:00
Kirti Velankar
0e375461b0 ICU-3931 Merge into trunk from branch kirtig -Added SelectFormat
X-SVN-Rev: 27293
2010-01-16 03:07:18 +00:00
Doug Felt
18b87b0965 ICU-7342 add LocaleDisplayNames and rudimentary test. Fix Locale.getVariant problem and add test.
X-SVN-Rev: 27258
2010-01-14 02:23:46 +00:00
Michael Ow
c6385f6209 ICU-7068 Add statements to ensure that uconfigtest passes
X-SVN-Rev: 26466
2009-08-04 21:09:17 +00:00
Xiaomei Ji
fe4e67b5a6 ICU-6311 full and abbreviated simple duration format support, release to trunk
X-SVN-Rev: 24609
2008-09-19 19:05:37 +00:00
Xiaomei Ji
f9a0590098 ICU-6157 date interval format
X-SVN-Rev: 24005
2008-05-28 00:33:44 +00:00
Claire Ho
c11cd154da ICU-5794 merge from feature branch.
X-SVN-Rev: 23095
2007-12-17 01:39:55 +00:00
Yoshito Umaoka
7e51ed7330 ICU-5990 Merging time zone formatting/parsing changes from yoshito's working branch to the trunk.
X-SVN-Rev: 22978
2007-11-28 20:49:58 +00:00
Steven R. Loomis
c1e3b68535 ICU-4567 data driven format test
X-SVN-Rev: 22335
2007-08-10 02:09:24 +00:00
Claire Ho
efe2014ed1 ICU-5787 merge from feature branch revision 22024:22252.
X-SVN-Rev: 22260
2007-08-03 18:43:04 +00:00
Eric Mader
bb4a371fdb ICU-5805 Update copyright notices for ICU 3.8
X-SVN-Rev: 22167
2007-07-27 03:12:12 +00:00
Steven R. Loomis
01a0744b62 ICU-4567 Taiwan calendar testing.. data driven calendar test.. enum generation and programmatic access
X-SVN-Rev: 21955
2007-07-12 21:53:20 +00:00
Yoshito Umaoka
b340ff12f6 ICU-5454 Merging ICU4C RuleBasedTimeZone/TimeZoneRule/VTimeZone implementation into trunk
X-SVN-Rev: 21845
2007-06-29 03:10:43 +00:00
Eric Mader
ae8baeb57d ICU-4152 Use TimeZone::getEquivalentID to handle aliases.
X-SVN-Rev: 19020
2006-01-24 22:16:39 +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
Steven R. Loomis
730163b0ca ICU-2424 new test: calendar case test (port from Java)
X-SVN-Rev: 13988
2003-12-04 00:47:56 +00:00
Steven R. Loomis
064c552148 ICU-2424 islamic cal & astronomy tests
X-SVN-Rev: 13849
2003-11-24 21:36:01 +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
Steven R. Loomis
e1e5ae9358 ICU-2436 multiple calendars (Buddhist)
X-SVN-Rev: 11973
2003-05-16 21:58:37 +00:00
Markus Scherer
0eb9c506ec ICU-2248 modularize ICU
X-SVN-Rev: 9910
2002-09-21 00:43:14 +00:00
George Rhoten
0a8cccc027 ICU-900 Fixed some compiler warnings
X-SVN-Rev: 7013
2001-11-20 01:51:19 +00:00
Alan Liu
df4993cedb ICU-975 make test names match class names, clean up file
X-SVN-Rev: 4929
2001-06-11 17:06:56 +00:00