Package de.pangaea.metadataportal.utils
Class LenientDateParser
- java.lang.Object
-
- de.pangaea.metadataportal.utils.LenientDateParser
-
public final class LenientDateParser extends Object
Simple static class to parse date/times very lenient. This class will be changed in future, as date/time parsing will be refactored in panFMP.- Author:
- Uwe Schindler
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] argv)For testing the parser from command line.static DateparseDate(String date)Parses a string to aDate
-
-
-
Method Detail
-
parseDate
public static Date parseDate(String date) throws ParseException
Parses a string to aDate- Throws:
ParseException
-
-