Shane F. Carr
16b934636a
ICU-21765 Add approximately sign field
...
See #1978
2022-02-23 10:38:42 -07:00
Peter Edberg
e69f337f3c
ICU-21669 UPRV_UNREACHABLE > UPRV_UNREACHABLE_EXIT/ASSERT, update usages
2021-09-14 15:22:52 -07:00
Shane F. Carr
4e01fba906
ICU-21358 Use sign position to format approximate numbers
...
See #1635
2021-08-19 16:18:19 -05:00
Shane Carr
8c717b514e
ICU-20665 Removing number-dependence from ICU4C FormattedStringBuilder fields.
...
See #727
2020-01-17 11:22:02 +01:00
Fredrik Roubert
5d6d29b76a
ICU-20601 Remove superfluous semicolons (-Wextra-semi-stmt).
...
These are the same changes for the C++ code as was done for the C code
by commit 17606e0345
.
2019-08-15 12:30:21 +02:00
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
249e03ccd6
ICU-13256 Implementing FormattedRelativeDateTime in C, C++, and Java.
...
- Adds additional logic to NumberStringBuilder.
- Extends logic of number::impl::Field type.
- Adds tests for RBNF support.
- Adds tests from ftang's original PR.
2019-02-11 11:35:51 -08:00
Jeff Genovy
5c8960e59e
ICU-20074 Revise UPRV_UNREACHABLE macro to always call abort().
...
Moved the macro from platform.h to uassert.h.
Removed any "unreachable" code that previously occurred after the UPRV_UNREACHABLE macro is used.
Changes based on review from Andy.
Co-authored-by: Daniel Ju <daju@microsoft.com>
2019-01-24 18:50:04 -08:00
Daniel Ju
7453181fff
ICU-20074 Define UPRV_UNREACHABLE macro for unreachable code
...
Replaced occurrences of U_ASSERT(FALSE) with new UPRV_UNREACHABLE macro.
2019-01-14 14:16:26 -08:00
Shane Carr
c0799c141b
ICU-20230 Implementing COMPACT field.
...
Adds some plumbing to allow MutablePatternModifier to set fields, and otherwise builds upon the infrastructure from the previous commit to add the MEASURE_UNIT field.
2018-11-19 16:21:36 -07:00
Fredrik Roubert
1af5762873
ICU-13818 Add virtual destructor for class TokenConsumer.
...
X-SVN-Rev: 41519
2018-06-13 17:00:44 +00:00
Shane Carr
f1e1a5c3f4
ICU-12572 Adding cpp-file definitions for all interface classes in number code, cleaning up an undefined behavior warning.
...
X-SVN-Rev: 41317
2018-05-03 09:13:46 +00:00
Shane Carr
607a60bc3b
ICU-13393 Removing the UPRV_INCOMPLETE_CPP11_SUPPORT flag since the number formatting code is no longer isolated from the rest of ICU.
...
X-SVN-Rev: 41266
2018-04-23 23:02:26 +00:00
Shane Carr
f7dddad5c0
ICU-13634 Removing superfluous abstraction "CharSequence" and "UnicodeStringCharSequence" from ICU4C number code.
...
X-SVN-Rev: 41260
2018-04-21 09:08:53 +00:00
Shane Carr
afbb37febd
ICU-13574 Checkpoint commit. AffixMatcher is mostly implemented.
...
X-SVN-Rev: 40894
2018-02-10 14:29:26 +00:00
Shane Carr
e7a42e17f6
ICU-13574 Adding initial AffixPatternMatcher to ICU4C. Not completely safe yet. Still needs work.
...
X-SVN-Rev: 40891
2018-02-10 10:01:46 +00:00
Shane Carr
3bbf68ff4e
ICU-13461 Adding break statement to silence Clang -Wimplicit-fallthrough warning
...
X-SVN-Rev: 40733
2017-12-14 01:01:19 +00:00
Shane Carr
1ec3a8c6bb
ICU-13411 Making "using namespace" statements consistent across number formatting cpp files.
...
X-SVN-Rev: 40630
2017-10-25 00:25:04 +00:00
Shane Carr
dbf0bfe4a7
ICU-13177 Improving consistency of Unicode string literals in number formatting code.
...
X-SVN-Rev: 40583
2017-10-06 01:37:59 +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
Norbert Runge
b536a39a74
ICU-13384 Adds #include unicode/utypes.h
...
X-SVN-Rev: 40557
2017-10-04 22:51:06 +00:00
Andy Heninger
511ebeaa92
ICU-13177 add 'using namespace icu' where needed for build with -DU_USING_ICU_NAMESPACE=0
...
X-SVN-Rev: 40485
2017-09-27 21:43:09 +00:00
Shane Carr
2d49e73b8a
ICU-13177 Cleanup before merge to trunk.
...
X-SVN-Rev: 40471
2017-09-27 05:31:57 +00:00
Shane Carr
93d9dc3fe2
ICU-13177 Cleaning up Valgrind errors in NumberFormatter unit test suite.
...
X-SVN-Rev: 40470
2017-09-27 03:52:08 +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
a01fc429cb
ICU-13177 Initial commit of ICU4C NumberFormatter
...
X-SVN-Rev: 40465
2017-09-27 00:25:20 +00:00