diff options
Diffstat (limited to 'src/org/unitConverter/unit/BaseUnit.java')
-rwxr-xr-x | src/org/unitConverter/unit/BaseUnit.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/org/unitConverter/unit/BaseUnit.java b/src/org/unitConverter/unit/BaseUnit.java index 2def48e..643272f 100755 --- a/src/org/unitConverter/unit/BaseUnit.java +++ b/src/org/unitConverter/unit/BaseUnit.java @@ -85,6 +85,14 @@ public final class BaseUnit extends LinearUnit { } /** + * @return true if the unit is a "full base" unit like the metre or second. + * @since 2019-04-10 + */ + public final boolean isFullBase() { + return this.isFullBase; + } + + /** * Returns the product of this unit and another. * <p> * Two units can be multiplied if they are part of the same unit system. If {@code multiplier} does not meet this |