[Schmitzm-commits] r2294 - trunk/schmitzm-core/src/main/java/de/schmitzm/data
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Thu Apr 18 17:29:17 CEST 2013
Author: mojays
Date: 2013-04-18 17:29:17 +0200 (Thu, 18 Apr 2013)
New Revision: 2294
Modified:
trunk/schmitzm-core/src/main/java/de/schmitzm/data/UnitUtil.java
Log:
UnitUtil: constant for DurationUnits
Modified: trunk/schmitzm-core/src/main/java/de/schmitzm/data/UnitUtil.java
===================================================================
--- trunk/schmitzm-core/src/main/java/de/schmitzm/data/UnitUtil.java 2013-04-18 15:27:51 UTC (rev 2293)
+++ trunk/schmitzm-core/src/main/java/de/schmitzm/data/UnitUtil.java 2013-04-18 15:29:17 UTC (rev 2294)
@@ -42,6 +42,8 @@
public static final SpeedUnit[] SPEED_UNITS = SpeedUnit.values();
/** Provided units for temperature. */
public static final TemperatureUnit[] TEMPERATURE_UNITS = TemperatureUnit.values();
+ /** Provided units for duration, e.g. hours per day. */
+ public static final DurationUnit[] DURATION_UNITS = DurationUnit.values();
/**
* Returns the abbreviations for some units.
More information about the Schmitzm-commits
mailing list