changeset 6547:455876ac5914

Merged
author Christian Lins <christian.lins@intevation.de>
date Mon, 08 Jul 2013 14:50:59 +0200
parents 7106f9b75004 (current diff) a4f60641e445 (diff)
children 9987c5a8154a
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java	Mon Jul 08 13:59:24 2013 +0200
+++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadFactory.java	Mon Jul 08 14:50:59 2013 +0200
@@ -364,7 +364,7 @@
             Calendar toStart = Calendar.getInstance();
             toStart.set(eyear - 1, 11, 31);
             Calendar toEnd = Calendar.getInstance();
-            toEnd.set(eyear, 11, 30);
+            toEnd.set(eyear+1, 11, 31);
             sqlQuery = session.createSQLQuery(SQL_SELECT_EPOCHS_DATA)
                 .addScalar("description", StandardBasicTypes.STRING)
                 .addScalar("startYear", StandardBasicTypes.DATE)

http://dive4elements.wald.intevation.org