Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/timeseries/gap/TimeGap.java @ 778:9a828e5a2390
Removed trailing whitespace
gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 07:58:51 +0000 |
parents | 3dcd2b0b456e |
children | b1f5f2a8840f |
comparison
equal
deleted
inserted
replaced
777:8009961db1cb | 778:9a828e5a2390 |
---|---|
1 package de.intevation.gnv.timeseries.gap; | 1 package de.intevation.gnv.timeseries.gap; |
2 public interface TimeGap { | 2 public interface TimeGap { |
3 | 3 |
4 public final static String TIME_UNIT_MINUTE = "m"; | 4 public final static String TIME_UNIT_MINUTE = "m"; |
5 public final static String TIME_UNIT_HOUR = "h"; | 5 public final static String TIME_UNIT_HOUR = "h"; |
6 public final static String TIME_UNIT_DAY = "D"; | 6 public final static String TIME_UNIT_DAY = "D"; |
7 public final static String TIME_UNIT_WEEK = "W"; | 7 public final static String TIME_UNIT_WEEK = "W"; |
8 public final static String TIME_UNIT_MONTH = "M"; | 8 public final static String TIME_UNIT_MONTH = "M"; |
9 public final static String TIME_UNIT_YEAR = "Y"; | 9 public final static String TIME_UNIT_YEAR = "Y"; |
10 | 10 |
11 public final static long MINUTE_IN_MILLIS = 60 * 1000; | 11 public final static long MINUTE_IN_MILLIS = 60 * 1000; |
12 public final static long HOUR_IN_MILLIS = 60 * MINUTE_IN_MILLIS; | 12 public final static long HOUR_IN_MILLIS = 60 * MINUTE_IN_MILLIS; |
13 public final static long DAY_IN_MILLIS = 24 * HOUR_IN_MILLIS; | 13 public final static long DAY_IN_MILLIS = 24 * HOUR_IN_MILLIS; |
14 public final static long WEEK_IN_MILLIS = 7 * DAY_IN_MILLIS; | 14 public final static long WEEK_IN_MILLIS = 7 * DAY_IN_MILLIS; |
15 | 15 |
16 | 16 |
17 /** | 17 /** |
18 * Returns the Lookup-Key for the TimeGap | 18 * Returns the Lookup-Key for the TimeGap |
19 * @return | 19 * @return |
20 */ | 20 */ |
21 int getKey(); | 21 int getKey(); |
22 | 22 |
23 /** | 23 /** |
24 * Returns the Value of the TimeValue in the Unit which is also given. | 24 * Returns the Value of the TimeValue in the Unit which is also given. |
25 * @return | 25 * @return |
26 */ | 26 */ |
27 int getValue(); | 27 int getValue(); |
28 | 28 |
29 /** | 29 /** |
30 * Returns the Unit of the Timegap (e.g. Minutes, Hours, Days, Weeks, Months, Years) | 30 * Returns the Unit of the Timegap (e.g. Minutes, Hours, Days, Weeks, Months, Years) |
31 * @return | 31 * @return |
32 */ | 32 */ |
33 String getUnit(); | 33 String getUnit(); |