diff artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java @ 9006:7134a4c7d1b6

U-Info S-Info general work
author gernotbelger
date Tue, 17 Apr 2018 13:20:25 +0200
parents fb9430250899
children 189cc8ededbd
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java	Tue Apr 17 13:19:56 2018 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/utils/Formatter.java	Tue Apr 17 13:20:25 2018 +0200
@@ -99,7 +99,7 @@
 
     /**
      * Creates a localized NumberFormatter with given range of decimal digits.
-     * 
+     *
      * @param m
      *            CallMeta to find the locale.
      * @param min
@@ -398,4 +398,8 @@
     public static NumberFormat getSalixLine(final CallContext context) {
         return Formatter.getFormatter(context, 2, 2);
     }
+
+    public static NumberFormat getUeberflutungsdauer(final CallContext context) {
+        return Formatter.getFormatter(context, 0, 0);
+    }
 }
\ No newline at end of file

http://dive4elements.wald.intevation.org