UCUM UnitFormat for JSR 363

喜你入骨 提交于 2019-12-02 07:52:15
Gunther Schadow

In UCUM both l (lower case ell) and L are used for liter. The lower case is continental European style, the upper case is US style. Both are equivalent in UCUM. So it's just a style issue.

See the JSR 363 extension module https://github.com/unitsofmeasurement/uom-systems/tree/master/ucum-java8 for UCUM support.

It provides support for the Unified Code for Units of Measure on Java SE 8. At the moment UCUM is more powerful and extensive, parsing uses a SymbolMap concept (based on Java ResourceBundles though it is not local-sensitive) so we cannot make it available for the JSR 363 RI. Please use the compatible Java SE 8 port UoM SE if you can.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!