Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/QWSeriesCollection.java @ 3170:79e7bba0f593
FixA: I18N for chart km service.
flys-artifacts/trunk@4783 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 25 Jun 2012 15:59:47 +0000 |
parents | 6d0567a8387d |
children | 0cf647fe2a96 |
comparison
equal
deleted
inserted
replaced
3169:b6da650b0718 | 3170:79e7bba0f593 |
---|---|
45 implements LabelGenerator | 45 implements LabelGenerator |
46 { | 46 { |
47 protected DateFormat format; | 47 protected DateFormat format; |
48 | 48 |
49 public DateFormatLabelGenerator() { | 49 public DateFormatLabelGenerator() { |
50 this(new SimpleDateFormat("dd.MM.yyyy")); | 50 this("dd.MM.yyyy"); |
51 } | |
52 | |
53 public DateFormatLabelGenerator(String format) { | |
54 this(new SimpleDateFormat(format)); | |
51 } | 55 } |
52 | 56 |
53 public DateFormatLabelGenerator(DateFormat format) { | 57 public DateFormatLabelGenerator(DateFormat format) { |
54 this.format = format; | 58 this.format = format; |
55 } | 59 } |