comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/TransitionBase.java @ 63:6ae2d4134da3

Changed DateoutputFormat from German- to Anericanstyle gnv-artifacts/trunk@46 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 09 Sep 2009 09:39:43 +0000
parents 5f47881f7c97
children d117fd4b82e5
comparison
equal deleted inserted replaced
62:9f57053d0384 63:6ae2d4134da3
268 MinMaxDescribeData descibeData = (MinMaxDescribeData)o; 268 MinMaxDescribeData descibeData = (MinMaxDescribeData)o;
269 Object min = descibeData.getMinValue(); 269 Object min = descibeData.getMinValue();
270 Object max = descibeData.getMaxValue(); 270 Object max = descibeData.getMaxValue();
271 if (min instanceof GregorianCalendar){ 271 if (min instanceof GregorianCalendar){
272 Date d = ((GregorianCalendar)min).getTime(); 272 Date d = ((GregorianCalendar)min).getTime();
273 min = DateUtils.getPatternedDateGerm(d); 273 min = DateUtils.getPatternedDateAmer(d);
274 } 274 }
275 275
276 if (max instanceof GregorianCalendar){ 276 if (max instanceof GregorianCalendar){
277 Date d = ((GregorianCalendar)max).getTime(); 277 Date d = ((GregorianCalendar)max).getTime();
278 max = DateUtils.getPatternedDateGerm(d); 278 max = DateUtils.getPatternedDateAmer(d);
279 } 279 }
280 280
281 Element inputMinNode = this.createXFormElement(document, "input"); 281 Element inputMinNode = this.createXFormElement(document, "input");
282 inputMinNode.setAttribute("ref", "minvalue"); 282 inputMinNode.setAttribute("ref", "minvalue");
283 Element inputMinLableNode = this.createXFormElement(document, "label"); 283 Element inputMinLableNode = this.createXFormElement(document, "label");

http://dive4elements.wald.intevation.org