gecko-dev/intl/components
Dan Minor 96711bfb68 Bug 1695937 - Add intl::NumberFormat to components; r=zbraniecki,tcampbell,jandem
This adds an initial version of NumberFormat that is suitable for use by
Fluent.

The options formatting code is taken from SpiderMonkey and modified to use the
standard c++ library rather than SpiderMonkey specific code. The code
generated MeasureUnitGenerated.h is duplicated here temporarily. Once we can
move SpiderMonkey to using this code, we can update the code generation to
avoid this duplication.

Some simple gtests have been written to make development easier. Full test
coverage is not a goal here, as this code will eventually be covered by running
test262 in SpiderMonkey.

Differential Revision: https://phabricator.services.mozilla.com/D107223
2021-04-08 14:56:33 +00:00
..
gtest Bug 1695937 - Add intl::NumberFormat to components; r=zbraniecki,tcampbell,jandem 2021-04-08 14:56:33 +00:00
src Bug 1695937 - Add intl::NumberFormat to components; r=zbraniecki,tcampbell,jandem 2021-04-08 14:56:33 +00:00
moz.build Bug 1695937 - Add intl::NumberFormat to components; r=zbraniecki,tcampbell,jandem 2021-04-08 14:56:33 +00:00