public abstract class LocaleDateParser extends DateReducers
Note that it is possible that in some locales there will be conflicting rules in grammar. If that happens, try to remove some of the patterns in LocaleDateGrammar.
| Constructor and Description |
|---|
LocaleDateParser() |
| Modifier and Type | Method and Description |
|---|---|
static LocaleDateParser |
newInstance() |
Calendar |
parseCalendarDate(String text) |
Calendar |
parseCalendarDateTime(String text) |
Calendar |
parseCalendarTime(String text) |
Date |
parseDate(String text) |
protected abstract void |
parseDate(String text,
Calendar calendar) |
Date |
parseDateTime(String text) |
protected abstract void |
parseDateTime(String text,
Calendar calendar) |
Date |
parseTime(String text) |
protected abstract void |
parseTime(String text,
Calendar calendar) |
protected int |
tzOffset_10800000() |
protected int |
tzOffset_12600000() |
protected int |
tzOffset_14400000() |
protected int |
tzOffset_16200000() |
protected int |
tzOffset_18000000() |
protected int |
tzOffset_21600000() |
protected int |
tzOffset_25200000() |
protected int |
tzOffset_28800000() |
protected int |
tzOffset_30600000() |
protected int |
tzOffset_32400000() |
protected int |
tzOffset_34200000() |
protected int |
tzOffset_3600000() |
protected int |
tzOffset_36000000() |
protected int |
tzOffset_39600000() |
protected int |
tzOffset_43200000() |
protected int |
tzOffset_7200000() |
protected int |
tzOffset_9000000() |
protected int |
tzOffset0() |
protected int |
tzOffset10800000() |
protected int |
tzOffset11224000() |
protected int |
tzOffset12600000() |
protected int |
tzOffset14400000() |
protected int |
tzOffset16200000() |
protected int |
tzOffset18000000() |
protected int |
tzOffset19800000() |
protected int |
tzOffset20700000() |
protected int |
tzOffset21600000() |
protected int |
tzOffset23400000() |
protected int |
tzOffset24300000() |
protected int |
tzOffset25200000() |
protected int |
tzOffset27000000() |
protected int |
tzOffset28800000() |
protected int |
tzOffset31500000() |
protected int |
tzOffset32400000() |
protected int |
tzOffset34200000() |
protected int |
tzOffset35100000() |
protected int |
tzOffset3600000() |
protected int |
tzOffset36000000() |
protected int |
tzOffset37800000() |
protected int |
tzOffset39600000() |
protected int |
tzOffset41400000() |
protected int |
tzOffset43200000() |
protected int |
tzOffset45000000() |
protected int |
tzOffset45900000() |
protected int |
tzOffset46800000() |
protected int |
tzOffset49500000() |
protected int |
tzOffset50400000() |
protected int |
tzOffset54000000() |
protected int |
tzOffset7200000() |
ad, am, bc, character, dayInMonth, dayInWeekInMonth, dayInYear, digit12, digit13, digit2, digit3, generalTZ, hour11, hour12, hour23, hour24, milliSecond, minute, month, month1, month10, month11, month12, month2, month3, month4, month5, month6, month7, month8, month9, pm, rfc822, rfc822String1, rfc822String2, rfc822String3, rfc822String4, second, sign, string, weekday1, weekday2, weekday3, weekday4, weekday5, weekday6, weekday7, weekInMonth, weekInYear, year2, year4public Date parseDate(String text) throws IOException
IOExceptionpublic Calendar parseCalendarDate(String text) throws IOException
IOExceptionpublic Date parseDateTime(String text) throws IOException
IOExceptionpublic Calendar parseCalendarDateTime(String text) throws IOException
IOExceptionpublic Date parseTime(String text) throws IOException
IOExceptionpublic Calendar parseCalendarTime(String text) throws IOException
IOExceptionprotected abstract void parseDateTime(String text, Calendar calendar) throws IOException
text - calendar - IOExceptionprotected abstract void parseDate(String text, Calendar calendar) throws IOException
text - calendar - IOExceptionprotected abstract void parseTime(String text, Calendar calendar) throws IOException
text - calendar - IOExceptionpublic static LocaleDateParser newInstance() throws IOException
IOExceptionprotected int tzOffset0()
protected int tzOffset_3600000()
protected int tzOffset31500000()
protected int tzOffset24300000()
protected int tzOffset35100000()
protected int tzOffset34200000()
protected int tzOffset_39600000()
protected int tzOffset_25200000()
protected int tzOffset_30600000()
protected int tzOffset14400000()
protected int tzOffset16200000()
protected int tzOffset36000000()
protected int tzOffset41400000()
protected int tzOffset_32400000()
protected int tzOffset45900000()
protected int tzOffset_7200000()
protected int tzOffset21600000()
protected int tzOffset23400000()
protected int tzOffset_10800000()
protected int tzOffset12600000()
protected int tzOffset_43200000()
protected int tzOffset49500000()
protected int tzOffset_18000000()
protected int tzOffset_16200000()
protected int tzOffset28800000()
protected int tzOffset32400000()
protected int tzOffset_9000000()
protected int tzOffset_21600000()
protected int tzOffset7200000()
protected int tzOffset18000000()
protected int tzOffset20700000()
protected int tzOffset_28800000()
protected int tzOffset10800000()
protected int tzOffset_36000000()
protected int tzOffset_12600000()
protected int tzOffset50400000()
protected int tzOffset43200000()
protected int tzOffset45000000()
protected int tzOffset3600000()
protected int tzOffset46800000()
protected int tzOffset25200000()
protected int tzOffset39600000()
protected int tzOffset54000000()
protected int tzOffset37800000()
protected int tzOffset_14400000()
protected int tzOffset19800000()
protected int tzOffset27000000()
protected int tzOffset11224000()
protected int tzOffset_34200000()
Copyright © 2014. All rights reserved.