summaryrefslogtreecommitdiff
path: root/src/unitConverter/unit/UnitSystem.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/unitConverter/unit/UnitSystem.java')
-rwxr-xr-xsrc/unitConverter/unit/UnitSystem.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/unitConverter/unit/UnitSystem.java b/src/unitConverter/unit/UnitSystem.java
index 2e3a5d8..0a50062 100755
--- a/src/unitConverter/unit/UnitSystem.java
+++ b/src/unitConverter/unit/UnitSystem.java
@@ -16,6 +16,8 @@
*/
package unitConverter.unit;
+import unitConverter.dimension.UnitDimension;
+
/**
* A system of units. Each unit should be aware of its system.
*
@@ -24,6 +26,16 @@ package unitConverter.unit;
*/
public interface UnitSystem {
/**
+ * Gets a base unit for this system and the provided dimension.
+ *
+ * @param dimension
+ * dimension used by base unit
+ * @return base unit
+ * @since 2019-01-25
+ */
+ BaseUnit getBaseUnit(UnitDimension dimension);
+
+ /**
* @return name of system
* @since 2019-01-25
*/