Skip to content

Commit

Permalink
59: Add missing UCUM units
Browse files Browse the repository at this point in the history
Task-Url: #59
  • Loading branch information
keilw committed Sep 3, 2020
1 parent 959810c commit 1a3a593
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ucum/src/main/java/systems/uom/ucum/UCUM.java
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ public static UCUM getInstance() {

public static final Unit<Dimensionless> INTERNATIONAL_UNIT = addUnit(new AlternateUnit<Dimensionless>(ONE, "IU"), "International Unit", "IU");

public static final Unit<Dimensionless> INTERNATIONAL_UNIT_UC = addUnit(new AlternateUnit<Dimensionless>(INTERNATIONAL_UNIT, "i.U."), "International Unit", "i.U.");
public static final Unit<Dimensionless> INTERNATIONAL_UNIT_ALT = addUnit(new AlternateUnit<Dimensionless>(INTERNATIONAL_UNIT, "i.U."), "International Unit", "i.U.");

// public static final Unit ARBITRARY_UNIT = UNDEFINED;
// public static final Unit US_PHARMACOPEIA = UNDEFINED;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Units of Measurement Systems for Java
# Copyright (c) 2005-2019, Jean-Marie Dautelle, Werner Keil and others.
# Copyright (c) 2005-2020, Jean-Marie Dautelle, Werner Keil and others.
#
# All rights reserved.
#
Expand Down Expand Up @@ -267,6 +267,8 @@ systems.uom.ucum.UCUM.DROP=[DRP]
#systems.uom.ucum.UCUM.FRAMES_PER_SECOND=fps
systems.uom.ucum.UCUM.KATAL=KAT
systems.uom.ucum.UCUM.UNIT=U
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT=[IU]
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT_ALT=[IU]

# Common Units (defined by implementation)
tech.units.indriya.unit.Units.KILOMETRE_PER_HOUR = [KPH]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Unit-API - Units of Measurement API for Java
# Copyright (c) 2005-2019, Jean-Marie Dautelle, Werner Keil and others.
# Copyright (c) 2005-2020, Jean-Marie Dautelle, Werner Keil and others.
#
# All rights reserved.
#
Expand Down Expand Up @@ -268,6 +268,8 @@ systems.uom.ucum.UCUM.DROP=[drp]
#systems.uom.ucum.UCUM.FRAMES_PER_SECOND=fps
systems.uom.ucum.UCUM.KATAL=kat
systems.uom.ucum.UCUM.UNIT=U
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT=[iU]
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT_ALT=[IU]

# Common Units (defined by implementation)
tech.units.indriya.unit.Units.KILOMETRE_PER_HOUR = [kph]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ systems.uom.ucum.UCUM.DROP=drp
#systems.uom.ucum.UCUM.FRAMES_PER_SECOND=fps
systems.uom.ucum.UCUM.KATAL=kat
systems.uom.ucum.UCUM.UNIT=U
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT=IU
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT_ALT=i.U.

# Common Units (defined by implementation)
tech.units.indriya.unit.Units.KILOMETRE_PER_HOUR = kph
Expand Down

0 comments on commit 1a3a593

Please sign in to comment.