Thu 07 Feb 2013 16:35:24 CET
units library - dealing with physical measurements
units library - dealing with physical measurements
I decided to publish the current state of the library I created and use to deal with measurements in my own projects. It's still not complete but it's usable and seams to work well.
The source code can be consulted at:
It's published with a very permissive Apache License 2.0 but I would like to know if anyone else is using it.
The library api docs is available at units apidocs.
For now it has support for:
- all basic dimensions (as defined by SI);
- some units in all the basic dimensions (more can be added);
- quotient dimensions and units
- product dimensions and units
- prefixed units
- measurements and measurements listeners. By design it supports only float and double type of measurements. Think of measurements listeners as wires that connect electronic components;