public class DateParser extends Object
Modifier and Type | Field and Description |
---|---|
static String |
_rcsid |
protected static HashMap |
milTzMap |
protected static HashMap |
monthMap
Timezone mapping from RFC822 timezones to ones understood by Java
|
Constructor and Description |
---|
DateParser() |
Modifier and Type | Method and Description |
---|---|
static String |
formatISO8601Date(Date dateValue)
Format ISO8601 date.
|
protected static boolean |
isNumeral(String value,
int index) |
static Date |
parseChinaDate(String dateValue)
Parse a China Daily News date
|
static Date |
parseISO8601Date(String isoDateValue)
Parse ISO 8601 dates, and their common variants.
|
static Date |
parseRFC822Date(String dateValue)
Parse RFC822 date
|
public static final String _rcsid
protected static HashMap monthMap
protected static final HashMap milTzMap