final class ObjectReaderImplCalendar extends DateTimeCodec implements ObjectReader
| Modifier and Type | Field and Description |
|---|---|
(package private) static ObjectReaderImplCalendar |
INSTANCE |
format, formatHasDay, formatHasHour, formatISO8601, formatMillis, formatUnixTime, locale, useSimpleDateFormat, useSimpleFormatter, yyyyMMdd10, yyyyMMdd8, yyyyMMddhhmm16, yyyyMMddhhmmss14, yyyyMMddhhmmss19HASH_TYPE, VALUE_NAME| Constructor and Description |
|---|
ObjectReaderImplCalendar(java.lang.String format,
java.util.Locale locale) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class |
getObjectClass()
Gets the class of objects that this ObjectReader can deserialize.
|
static ObjectReaderImplCalendar |
of(java.lang.String format,
java.util.Locale locale) |
java.lang.Object |
readJSONBObject(JSONReader jsonReader,
java.lang.reflect.Type fieldType,
java.lang.Object fieldName,
long features)
Reads an object from JSONB format.
|
java.lang.Object |
readObject(JSONReader jsonReader,
java.lang.reflect.Type fieldType,
java.lang.Object fieldName,
long features)
Reads an object from the specified JSONReader with the given field type, field name, and features.
|
getDateFormatter, getDateFormatterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, acceptExtra, acceptExtra, autoType, autoType, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstance, createInstanceNoneDefaultConstructor, getBuildFunction, getFeatures, getFieldReader, getFieldReader, getFieldReaderLCase, getTypeKey, getTypeKeyHash, readArrayMappingJSONBObject, readArrayMappingObject, readObject, readObject, readObject, setFieldValue, setFieldValue, setFieldValuestatic final ObjectReaderImplCalendar INSTANCE
public ObjectReaderImplCalendar(java.lang.String format,
java.util.Locale locale)
public static ObjectReaderImplCalendar of(java.lang.String format, java.util.Locale locale)
public java.lang.Class getObjectClass()
ObjectReadergetObjectClass in interface ObjectReaderpublic java.lang.Object readJSONBObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadJSONBObject in interface ObjectReaderjsonReader - the JSONReader to use for parsingfieldType - the type of the field being readfieldName - the name of the field being readfeatures - the features to usepublic java.lang.Object readObject(JSONReader jsonReader, java.lang.reflect.Type fieldType, java.lang.Object fieldName, long features)
ObjectReaderreadObject in interface ObjectReaderjsonReader - the JSONReader to use for parsingfieldType - the type of the field being readfieldName - the name of the field being readfeatures - the features to use