Mercurial > dive4elements > gnv-client
comparison geo-backend/src/main/java/de/intevation/gnv/geobackend/util/DateUtils.java @ 889:e5e30090c37c
Modified some JavaDoc so that the Warnings that where caused by mistakes are removed.
geo-backend/trunk@915 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Tue, 13 Apr 2010 09:30:10 +0000 |
parents | b757def3ff55 |
children | e9ca6be4dbd2 |
comparison
equal
deleted
inserted
replaced
888:65dd801fbee6 | 889:e5e30090c37c |
---|---|
14 * Project: $ProjectName$ | 14 * Project: $ProjectName$ |
15 */ | 15 */ |
16 package de.intevation.gnv.geobackend.util; | 16 package de.intevation.gnv.geobackend.util; |
17 | 17 |
18 import java.text.SimpleDateFormat; | 18 import java.text.SimpleDateFormat; |
19 | |
20 import java.util.Date; | 19 import java.util.Date; |
21 | 20 |
22 import org.apache.log4j.Logger; | 21 import org.apache.log4j.Logger; |
23 | 22 |
24 /** | 23 /** |
52 return fmt.format(pDate); | 51 return fmt.format(pDate); |
53 } | 52 } |
54 | 53 |
55 /** | 54 /** |
56 * Returns the Date as a String formated using the | 55 * Returns the Date as a String formated using the |
57 * @see DateUtils.DATE_PATTERN | 56 * @see de.intevation.gnv.geobackend.util.DateUtils.DATE_PATTERN |
58 * @param pDate the Date which should be formatted | 57 * @param pDate the Date which should be formatted |
59 * @return the given Data as a String | 58 * @return the given Data as a String |
60 */ | 59 */ |
61 public static String getPatternedDateAmer(Date pDate) { | 60 public static String getPatternedDateAmer(Date pDate) { |
62 String sStr = getPatternedDate(pDate, DATE_PATTERN); | 61 String sStr = getPatternedDate(pDate, DATE_PATTERN); |
63 return sStr; | 62 return sStr; |
64 } | 63 } |
65 | 64 |
66 /** | 65 /** |
67 * Thismethod decodes a Datevalue from the given String useing the | 66 * Thismethod decodes a Datevalue from the given String useing the |
68 * @see DateUtils.DATE_PATTERN1 format- | 67 * @see de.intevation.gnv.geobackend.util.DateUtils.DateUtils.DATE_PATTERN1 format- |
69 * @param sStr The String which contains the encoded Datevalue | 68 * @param sStr The String which contains the encoded Datevalue |
70 * @return the decoded Datevalue as an Date-object. | 69 * @return the decoded Datevalue as an Date-object. |
71 * @throws Exception throws all Expetion which occurs during the Process. | 70 * @throws Exception throws all Expetion which occurs during the Process. |
72 */ | 71 */ |
73 public static Date getDateFromString (String sStr)throws Exception { | 72 public static Date getDateFromString (String sStr)throws Exception { |