protected static class JacksonObjectMapperProvider.SocrataDateFormat
extends org.codehaus.jackson.map.util.StdDateFormat
DateFormat.Field
AM_PM_FIELD, calendar, DATE_FIELD, DAY_OF_WEEK_FIELD, DAY_OF_WEEK_IN_MONTH_FIELD, DAY_OF_YEAR_FIELD, DEFAULT, ERA_FIELD, FULL, HOUR_OF_DAY0_FIELD, HOUR_OF_DAY1_FIELD, HOUR0_FIELD, HOUR1_FIELD, LONG, MEDIUM, MILLISECOND_FIELD, MINUTE_FIELD, MONTH_FIELD, numberFormat, SECOND_FIELD, SHORT, TIMEZONE_FIELD, WEEK_OF_MONTH_FIELD, WEEK_OF_YEAR_FIELD, YEAR_FIELD
Constructor and Description |
---|
JacksonObjectMapperProvider.SocrataDateFormat() |
Modifier and Type | Method and Description |
---|---|
org.codehaus.jackson.map.util.StdDateFormat |
clone()
Need to override this, because StdDateFormat overrode this.
|
StringBuffer |
format(Date date,
StringBuffer toAppendTo,
FieldPosition fieldPosition) |
protected Date |
parseAsISO8601(String dateStr,
ParsePosition pos)
Overrides this method to special case ISO 8601 dates without 'Z'
to be local date/time.
|
getBlueprintISO8601Format, getBlueprintRFC1123Format, getISO8601Format, getRFC1123Format, looksLikeISO8601, parse, parse, parseAsRFC1123
equals, format, format, getAvailableLocales, getCalendar, getDateInstance, getDateInstance, getDateInstance, getDateTimeInstance, getDateTimeInstance, getDateTimeInstance, getInstance, getNumberFormat, getTimeInstance, getTimeInstance, getTimeInstance, getTimeZone, hashCode, isLenient, parseObject, setCalendar, setLenient, setNumberFormat, setTimeZone
format, formatToCharacterIterator, parseObject
public JacksonObjectMapperProvider.SocrataDateFormat()
protected Date parseAsISO8601(String dateStr, ParsePosition pos)
parseAsISO8601
in class org.codehaus.jackson.map.util.StdDateFormat
dateStr
- the string to parsepos
- current position in the stringpublic StringBuffer format(Date date, StringBuffer toAppendTo, FieldPosition fieldPosition)
format
in class org.codehaus.jackson.map.util.StdDateFormat
public org.codehaus.jackson.map.util.StdDateFormat clone()
clone
in class org.codehaus.jackson.map.util.StdDateFormat
Copyright © 2013. All Rights Reserved.