org.gcube.contentmanagement.graphtools.utils
Class DateGuesser

java.lang.Object
  extended by org.gcube.contentmanagement.graphtools.utils.DateGuesser

public class DateGuesser
extends Object


Field Summary
static String DAY
           
static String MONTH
           
static String YEAR
           
 
Constructor Summary
DateGuesser()
           
 
Method Summary
static Calendar convertDate(String data)
           
static Calendar convertDate(String data, String language)
           
static String getPattern(String data)
           
static String getPattern(String data, String language)
           
static String granularity(String pattern)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

YEAR

public static final String YEAR
See Also:
Constant Field Values

MONTH

public static final String MONTH
See Also:
Constant Field Values

DAY

public static final String DAY
See Also:
Constant Field Values
Constructor Detail

DateGuesser

public DateGuesser()
Method Detail

main

public static void main(String[] args)

convertDate

public static Calendar convertDate(String data)

getPattern

public static String getPattern(String data)

getPattern

public static String getPattern(String data,
                                String language)

convertDate

public static Calendar convertDate(String data,
                                   String language)

granularity

public static String granularity(String pattern)


Copyright © 2013. All Rights Reserved.