Skip to content

Commit 1a3a593

Browse files
committed
59: Add missing UCUM units
Task-Url: #59
1 parent 959810c commit 1a3a593

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

Diff for: ucum/src/main/java/systems/uom/ucum/UCUM.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ public static UCUM getInstance() {
769769

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

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

774774
// public static final Unit ARBITRARY_UNIT = UNDEFINED;
775775
// public static final Unit US_PHARMACOPEIA = UNDEFINED;

Diff for: ucum/src/main/resources/systems/uom/ucum/format/UCUMFormat_CI.properties

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Units of Measurement Systems for Java
3-
# Copyright (c) 2005-2019, Jean-Marie Dautelle, Werner Keil and others.
3+
# Copyright (c) 2005-2020, Jean-Marie Dautelle, Werner Keil and others.
44
#
55
# All rights reserved.
66
#
@@ -267,6 +267,8 @@ systems.uom.ucum.UCUM.DROP=[DRP]
267267
#systems.uom.ucum.UCUM.FRAMES_PER_SECOND=fps
268268
systems.uom.ucum.UCUM.KATAL=KAT
269269
systems.uom.ucum.UCUM.UNIT=U
270+
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT=[IU]
271+
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT_ALT=[IU]
270272

271273
# Common Units (defined by implementation)
272274
tech.units.indriya.unit.Units.KILOMETRE_PER_HOUR = [KPH]

Diff for: ucum/src/main/resources/systems/uom/ucum/format/UCUMFormat_CS.properties

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
22
# Unit-API - Units of Measurement API for Java
3-
# Copyright (c) 2005-2019, Jean-Marie Dautelle, Werner Keil and others.
3+
# Copyright (c) 2005-2020, Jean-Marie Dautelle, Werner Keil and others.
44
#
55
# All rights reserved.
66
#
@@ -268,6 +268,8 @@ systems.uom.ucum.UCUM.DROP=[drp]
268268
#systems.uom.ucum.UCUM.FRAMES_PER_SECOND=fps
269269
systems.uom.ucum.UCUM.KATAL=kat
270270
systems.uom.ucum.UCUM.UNIT=U
271+
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT=[iU]
272+
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT_ALT=[IU]
271273

272274
# Common Units (defined by implementation)
273275
tech.units.indriya.unit.Units.KILOMETRE_PER_HOUR = [kph]

Diff for: ucum/src/main/resources/systems/uom/ucum/format/UCUMFormat_Print.properties

+2
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,8 @@ systems.uom.ucum.UCUM.DROP=drp
267267
#systems.uom.ucum.UCUM.FRAMES_PER_SECOND=fps
268268
systems.uom.ucum.UCUM.KATAL=kat
269269
systems.uom.ucum.UCUM.UNIT=U
270+
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT=IU
271+
systems.uom.ucum.UCUM.INTERNATIONAL_UNIT_ALT=i.U.
270272

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

0 commit comments

Comments
 (0)