Commit graph

16 commits

Author SHA1 Message Date
Younies Mahmoud
d70b252cdc ICU-22781 Add support for converting units with constant denominators (C++)
See #3347
2025-01-25 01:45:49 +01:00
Peter Edberg
ceee4f0b46 ICU-22655 Implement "special" conversion for speed-beaufort, part 2 icu4c 2024-03-09 19:52:42 -08:00
Peter Edberg
2270c174a5 ICU-22325 CLDR release-44-alpha1 to main:
- binaries, binary-as-source, CLDR data sources;
  - CLDR test data & dtd, ICU lib/tool/test source updates.
2023-08-22 14:40:51 -07:00
DraganBesevic
1f07d2b29f ICU-22325 Integrate CLDR 44.1 to ICU, add personName testdata, fix RBBITestMonkey 2023-07-28 16:53:50 -07:00
Peter Edberg
ca9bdb9780 ICU-21957 integrate CLDR release-42-alpha2 to ICU main for 72 2022-08-22 13:07:59 -07:00
luz paz
73eca0a9c9 ICU-21580 Fix typos in icu4c/
Found via `codespell -q 3 -L ans,anumber,atleast,ba,bre,hace,nd,nin,ois,rsource,som,sur,tht -S icu4c/source/data/zone,icu4c/source/data/lang`
ICU-21580 Fix source (related) typos
ICU-21580 Revert extraneous auto-encoding
ICU-21580 Re-add previous reverted fix without auto-encoding
2021-07-19 13:22:38 -05:00
Younies Mahmoud
c825da1d29 ICU-21349 Add extra UnitsConverter constructor that takes only CLDR unit identifiers
See #1578
2021-02-24 02:06:43 +00:00
younies
916b9fad75 ICU-21349 Add UnitsConverter.getConversionInfo(...)
See #1568
2021-02-10 14:10:44 +01:00
Younies Mahmoud
412ac386f4 ICU-21349 Change UnitConverter name to UnitsConverter
See #1557
2021-02-03 14:50:04 +01:00
Hugo van der Merwe
5dc0513b29 ICU-21472 Update ICU to support latest CLDR units updates (ofglucose, new constants)
See #1545
2021-02-02 12:34:17 +01:00
Hugo van der Merwe
1c61c57ece ICU-21357 Support IEC Binary Prefixes in MeasureUnit
See #1474
2021-01-27 15:34:10 +01:00
Hugo van der Merwe
f7ab1f7c50 ICU-21349 Fix confusing names of exponent variables.
See #1464
2020-11-17 23:54:25 +01:00
younies
909f343cd6 ICU-21349 Improve MeasureUnit comparators
See #1433
2020-11-13 23:36:00 +04:00
Hugo van der Merwe
57820a495d ICU-21337 Remove U_I18N_API from enum. 2020-10-20 03:26:44 +02:00
Hugo van der Merwe
81d43a2092 ICU-20568 Fix "1 foot 12 inches" behaviour
See #1337
2020-09-23 08:10:22 +02:00
Hugo van der Merwe
e3123c83a4 ICU-20568 Support smart units / unit contexts / preferences
Explore Usage-related error codes, address icu-units/icu#36.
PR: https://github.com/icu-units/icu/pull/56
Commit: d5d7fdccfe

Implement Precision handling in UsagePrefsHandler::processQuantity
PR: https://github.com/icu-units/icu/pull/61
Commit: 16547f3298

Support Mixed Units in NumberFormatter when using usage()
PR: https://github.com/icu-units/icu/pull/52
Commit: cc5a122021

For MixedUnits, use the correct ListFormatter styles.
PR: https://github.com/icu-units/icu/pull/66
Commit: 77bb747002

Read the CLDR testData test files from the new location.
PR: https://github.com/icu-units/icu/pull/68
Commit: 6eb992e2b3

Fix double-precision maths in unit conversions
PR: https://github.com/icu-units/icu/pull/71
Commit: 78e88fbddef0f6817654d58c9c5dfeb6606324b9

Support .unit(MIXED_UNIT) without .usage(...).
PR: https://github.com/icu-units/icu/pull/72
Commit: 56ac7959375b8c9363ff022185165e52490c6c00

More commits:
- Reorder numbertest_api.cpp tests for consistent order.
- NumberFormatterApiTest: fold unitPipeline() into unitCompoundMeasure()
- Add some 'template class' instantiations for MSVC.
- Make trimField handle all whitespace, improve test messages
- Drop templated 'appendAll': it requires copy constructor
- Add protected MaybeStackArray::copyFrom()
- Add TODO(icu-units#67) and commented-out test case: use kUndefinedField for now
- Provide correct output order for units like "inch-and-foot"
- MSVC: export MaybeStackVector<MeasureUnit>
- Code review feedback: dependencies.txt and doc comments
- Consistent naming for code files: units_*
2020-09-10 22:39:18 +02:00
Renamed from icu4c/source/i18n/unitconverter.h (Browse further)