Feature Request
1. User story
As an API consumer,
I need to consistently compare and calculate amounts of things
In order to express quantitative relationships.
2. Acceptance criteria
We'll be done when we can represent quantities with a:
1. Metric, which represents a standard of measurement for quantities
2. Unit, which represents a type of Metric that is part of a SystemOfUnits
3. SystemOfUnits, which represents a set of related Units defined by a standard such as the International System of Units (SI)
4. DerivedUnit, which represents a combination of one or more base Units according to a specific equation
5. DerivedUnitTerm, which represents a term (i.e., a single Unit and its power, e.g., s–1) within a DerivedUnit
6. Quantity, which specifies an amount that is measured in some Metric, and uses
6.1. Arithmetic operations (add, subtract, multiply, and divide)
6.2. Comparison operations (equalTo, greaterThan, lessThan)
6.3. RoundingPolicy to define the mathematical semantics of the rounding operation
6.4. RoundingStrategy to represent the type of rounding to be applied
7. StandardConversion, which defines a conversionFactor that can be used to convert a Quantity in a source Unit to a Quantity in a target Unit
8. UnitConverter, which represents the conversion process
9. SIBaseUnit, which represents one of the base units defined in SI
9.1. Meter: SI unit of length
9.2. Kilogram: SI unit of mass
9.3. Second: SI unit of time
9.4. Ampere: SI unit of electric current
9.5. Kelvin: SI unit of temperature
9.6. Mole: SI unit of amount of substance
9.7. Candela: SI unit of luminous intensity
3. Notes
⌦ Provide additional information here, if you need to.
1. User story
As an API consumer,
I need to consistently compare and calculate amounts of things
In order to express quantitative relationships.
2. Acceptance criteria
We'll be done when we can represent quantities with a:
Metric, which represents a standard of measurement for quantitiesUnit, which represents a type ofMetricthat is part of aSystemOfUnitsSystemOfUnits, which represents a set of related Units defined by a standard such as the International System of Units (SI)DerivedUnit, which represents a combination of one or more base Units according to a specific equationDerivedUnitTerm, which represents a term (i.e., a single Unit and its power, e.g., s–1) within aDerivedUnitQuantity, which specifies an amount that is measured in someMetric, and usesadd,subtract,multiply, anddivide)equalTo,greaterThan,lessThan)RoundingPolicyto define the mathematical semantics of the rounding operationRoundingStrategyto represent the type of rounding to be appliedStandardConversion, which defines aconversionFactorthat can be used to convert aQuantityin a sourceUnitto aQuantityin a targetUnitUnitConverter, which represents the conversion processSIBaseUnit, which represents one of the base units defined in SIMeter: SI unit of lengthKilogram: SI unit of massSecond: SI unit of timeAmpere: SI unit of electric currentKelvin: SI unit of temperatureMole: SI unit of amount of substanceCandela: SI unit of luminous intensity3. Notes