Mercurial > dive4elements > gnv-client
diff geo-backend/src/main/java/de/intevation/gnv/geobackend/util/DateUtils.java @ 897:02cd2935b5fa
Removed trailing whitespace.
geo-backend/trunk@1013 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 28 Apr 2010 07:04:19 +0000 |
parents | d674cef2ca0d |
children |
line wrap: on
line diff
--- a/geo-backend/src/main/java/de/intevation/gnv/geobackend/util/DateUtils.java Tue Apr 20 12:46:40 2010 +0000 +++ b/geo-backend/src/main/java/de/intevation/gnv/geobackend/util/DateUtils.java Wed Apr 28 07:04:19 2010 +0000 @@ -33,7 +33,7 @@ private static Logger sLogger = Logger.getLogger(DateUtils.class); /** - * The Dateformat which will be used e.g for Querying the Database + * The Dateformat which will be used e.g for Querying the Database */ public static final String DATE_PATTERN = "yyyy.MM.dd HH:mm:ss"; @@ -52,7 +52,7 @@ } /** - * Returns the Date as a String formated using the + * Returns the Date as a String formated using the * <code>DateUtils.DATE_PATTERN</code> format- * @param pDate the Date which should be formatted * @return the given Data as a String @@ -82,7 +82,7 @@ * @return the given Datevalue as an Date-Object. * @throws Exception throws all Expetion which occurs during the Process. */ - public static Date getDateFromString (String sStr, + public static Date getDateFromString (String sStr, String sPattern)throws Exception { SimpleDateFormat fmt = new SimpleDateFormat(); fmt.applyPattern(sPattern);