de.pangaea.metadataportal.utils
Class LenientDateParser

java.lang.Object
  extended by 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
static void main(String[] argv)
          For testing the parser from command line.
static Date parseDate(String date)
          Parses a string to a Date
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parseDate

public static Date parseDate(String date)
                      throws ParseException
Parses a string to a Date

Throws:
ParseException

main

public static void main(String[] argv)
                 throws Exception
For testing the parser from command line.

Throws:
Exception


Copyright ©2007-2009 panFMP Developers c/o Uwe Schindler