Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/SedimentLoadAccess.java @ 4516:de4832ffde2a
Fix: Handle epochs like official epochs to get a year range.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 14 Nov 2012 17:04:01 +0100 |
parents | 26afee1b8959 |
children | a3dc382bc1ca |
comparison
equal
deleted
inserted
replaced
4515:17d896822d70 | 4516:de4832ffde2a |
---|---|
61 } | 61 } |
62 return null; | 62 return null; |
63 } | 63 } |
64 | 64 |
65 public int[][] getEpochs() { | 65 public int[][] getEpochs() { |
66 if (getYearEpoch().equals("epoch")) { | 66 if (getYearEpoch().equals("epoch") || |
67 getYearEpoch().equals("off_epoch") | |
68 ) { | |
67 String data = getString("epochs"); | 69 String data = getString("epochs"); |
68 | 70 |
69 if (data == null) { | 71 if (data == null) { |
70 logger.warn("No 'epochs' parameter specified!"); | 72 logger.warn("No 'epochs' parameter specified!"); |
71 return null; | 73 return null; |