Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/StateBase.java @ 839:ac5988f27714
Added the time interval into the subtitle of timeseries charts (issue152).
gnv-artifacts/trunk@948 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 19 Apr 2010 14:19:19 +0000 |
parents | 05bf8534a35a |
children | 797a6264b89b |
comparison
equal
deleted
inserted
replaced
838:e91ebe3696ec | 839:ac5988f27714 |
---|---|
1 package de.intevation.gnv.state; | 1 package de.intevation.gnv.state; |
2 | |
3 import java.text.DateFormat; | |
4 import java.text.SimpleDateFormat; | |
2 | 5 |
3 import java.util.ArrayList; | 6 import java.util.ArrayList; |
4 import java.util.Arrays; | 7 import java.util.Arrays; |
5 import java.util.Collection; | 8 import java.util.Collection; |
6 import java.util.Date; | 9 import java.util.Date; |
106 protected State parent = null; | 109 protected State parent = null; |
107 | 110 |
108 protected Map<String, InputData> inputData = null; | 111 protected Map<String, InputData> inputData = null; |
109 | 112 |
110 protected Map<String, InputData> preSettings = null; | 113 protected Map<String, InputData> preSettings = null; |
114 | |
115 | |
116 /** | |
117 * The source date format as string. | |
118 */ | |
119 public static String srcDateFormat = "yyyy.MM.dd hh:mm:ss"; | |
120 | |
121 | |
122 /** | |
123 * The source date format used to read string represented strings. | |
124 */ | |
125 public static DateFormat srcFormat; | |
126 | |
127 | |
128 static { | |
129 srcFormat = new SimpleDateFormat(srcDateFormat); | |
130 } | |
131 | |
111 | 132 |
112 /** | 133 /** |
113 * Constructor | 134 * Constructor |
114 */ | 135 */ |
115 public StateBase() { | 136 public StateBase() { |