Hello, can someone tell me what this represents:
/**
* Holds the dimensionless unit <code>ONE</code>.
*
* @deprecated consider moving it to {@link AbstractUnit} again for static constant usage reasons.
*/
public static final Unit<Dimensionless> ONE = addUnit(new ProductUnit<Dimensionless>(), Dimensionless.class);
it is from Units
ONE
.. am I safe to assume these are pieces?
PIECES
would make much more sense to me.. I would add 3 PIECES of this screwdriver for instance
TimeMonetaryAmount
to represent things like "5$ per month", then there would be also an API to convert those, i.e. find price for a year, or 6 weeks, or find price in Japanese Yen for 2 weeks only. Does that make sense? If so I can open a request for a feature in the JIRA..
AbstractSystemOfUnits
.