The Units of Measurement API (JSR 385) offers a standardized way to handle units and quantities in Java. This API is not included in the JDK but is available as a separate dependency. The API deals with units, quantities, and dimensions, providing methods for unit conversion and arithmetic operations. The Indriya project
Table of contents
Dealing with Units is HardWhat’s the Unit of Measurement APIA Taste of IndriyaHow to Use javax.measureCreating Custom UnitsSafer Calculation with Multiple UnitsFormatting Units and QuantitiesConclusionResourcesSort: