Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/util/DateUtils.java @ 890:e9ca6be4dbd2
Modified some JavaDoc so that the Warnings that where caused by mistakes are removed.
geo-backend/trunk@916 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 13 Apr 2010 09:37:59 +0000 |
parents | e5e30090c37c |
children | d674cef2ca0d |
comparison
equal
deleted
inserted
replaced
889:e5e30090c37c | 890:e9ca6be4dbd2 |
---|---|
51 return fmt.format(pDate); | 51 return fmt.format(pDate); |
52 } | 52 } |
53 | 53 |
54 /** | 54 /** |
55 * Returns the Date as a String formated using the | 55 * Returns the Date as a String formated using the |
56 * @see de.intevation.gnv.geobackend.util.DateUtils.DATE_PATTERN | 56 * <code>DateUtils.DATE_PATTERN</code> format- |
57 * @param pDate the Date which should be formatted | 57 * @param pDate the Date which should be formatted |
58 * @return the given Data as a String | 58 * @return the given Data as a String |
59 */ | 59 */ |
60 public static String getPatternedDateAmer(Date pDate) { | 60 public static String getPatternedDateAmer(Date pDate) { |
61 String sStr = getPatternedDate(pDate, DATE_PATTERN); | 61 String sStr = getPatternedDate(pDate, DATE_PATTERN); |
62 return sStr; | 62 return sStr; |
63 } | 63 } |
64 | 64 |
65 /** | 65 /** |
66 * Thismethod decodes a Datevalue from the given String useing the | 66 * This method decodes a Datevalue from the given String useing the |
67 * @see de.intevation.gnv.geobackend.util.DateUtils.DateUtils.DATE_PATTERN1 format- | 67 * <code>DateUtils.DATE_PATTERN1</code> format- |
68 * @param sStr The String which contains the encoded Datevalue | 68 * @param sStr The String which contains the encoded Datevalue |
69 * @return the decoded Datevalue as an Date-object. | 69 * @return the decoded Datevalue as an Date-object. |
70 * @throws Exception throws all Expetion which occurs during the Process. | 70 * @throws Exception throws all Expetion which occurs during the Process. |
71 */ | 71 */ |
72 public static Date getDateFromString (String sStr)throws Exception { | 72 public static Date getDateFromString (String sStr)throws Exception { |