The abstract base class AbstractUnit
contains a convenience method parse() for Units Obtained by Symbol Parsing using a default UnitFormat
.
For fine grained control over parsing it is recommended to obtain/use UnitFormat
directly, but AbstractUnit
offers similar convenience methods as JDK classes do, e.g Integer.parseInt()
.