3 ms·
Looks like it is comparable to javax.measure (https://jcp.org/en/jsr/detail?id=363 https://jcp.org/en/jsr/detail?id=363). I used an implementation of that a few
by jillesvangurp 6y ago
Looks like it is comparable to javax.measure (https://jcp.org/en/jsr/detail?id=363 https://jcp.org/en/jsr/detail?id=363). I used an implementation of that a few years ago: https://github.com/unitsofmeasurement/uom-se https://github.com/unitsofmeasurement/uom-se
It's a complex domain, especially if you get down to having more complex units composed of other units and want to do conversions between metric and imperial. In our case we were dealing with material properties (chemical, physical, magnetic, etc.) and different countries and companies using different ways to record characteristics for materials.