public class DateTimeParser
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
Log
The Constant Log.
|
Constructor and Description |
---|
DateTimeParser()
Instantiates a new date time parser.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPattern()
Gets the pattern.
|
SQTime |
parse(java.lang.String date)
Parses the.
|
void |
recognizeDateFormat(java.util.List<java.lang.String> dates)
Recognize date format.
|
public java.lang.String getPattern()
public void recognizeDateFormat(java.util.List<java.lang.String> dates) throws java.lang.Exception
dates
- the datesjava.lang.Exception
- the exceptionpublic SQTime parse(java.lang.String date) throws java.lang.Exception
date
- the datejava.lang.Exception
- the exception