Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/exports/ODVExport.java @ 816:cda3bede32f8
ISSUE215 Switched Values between columns yyyy-mm-dd hh:mm and time_ISO8601
gnv-artifacts/trunk@901 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 09:26:26 +0000 |
parents | 22c18083225e |
children | 2423cefe7d39 |
comparison
equal
deleted
inserted
replaced
815:22c18083225e | 816:cda3bede32f8 |
---|---|
110 String[] rowArray = row.getValue(); | 110 String[] rowArray = row.getValue(); |
111 for (int i= 0; i < rowArray.length; i++){ | 111 for (int i= 0; i < rowArray.length; i++){ |
112 rowList.add(rowArray[i]); | 112 rowList.add(rowArray[i]); |
113 } | 113 } |
114 if (this.startTime != null){ | 114 if (this.startTime != null){ |
115 rowList.add(this.startTime); | 115 String measurementtime = rowList.get(3).replace(' ','T'); |
116 rowList.set(3, this.startTime.replace('.','-')); | |
117 rowList.add(measurementtime+":00.0"); | |
116 } | 118 } |
117 for (int i = 0; i < paramids.size();i++){ | 119 for (int i = 0; i < paramids.size();i++){ |
118 String key = paramids.get(i); | 120 String key = paramids.get(i); |
119 String value = params.get(key); | 121 String value = params.get(key); |
120 if (value == null){ | 122 if (value == null){ |