static class JodaSupport.LocalDateTimeWriter extends DateTimeCodec implements ObjectWriter
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.function.Function |
getChronology |
(package private) java.lang.reflect.Method |
getDayOfMonth |
(package private) java.util.function.ToIntFunction |
getHourOfDay |
(package private) java.util.function.ToIntFunction |
getMillisOfSecond |
(package private) java.util.function.ToIntFunction |
getMinuteOfHour |
(package private) java.lang.reflect.Method |
getMonthOfYear |
(package private) java.util.function.ToIntFunction |
getSecondOfMinute |
(package private) java.lang.reflect.Method |
getYear |
(package private) java.lang.Class |
isoChronology |
(package private) java.lang.Class |
objectClass |
(package private) java.lang.Object |
utc |
format, formatHasDay, formatHasHour, formatISO8601, formatMillis, formatUnixTime, locale, useSimpleDateFormat, useSimpleFormatter, yyyyMMdd10, yyyyMMdd8, yyyyMMddhhmm16, yyyyMMddhhmmss14, yyyyMMddhhmmss19| Constructor and Description |
|---|
LocalDateTimeWriter(java.lang.Class objectClass,
java.lang.String format) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(JSONWriter jsonWriter,
java.lang.Object object,
java.lang.Object fieldName,
java.lang.reflect.Type fieldType,
long features)
Writes an object to the JSONWriter with the given field name, field type, and features.
|
void |
writeJSONB(JSONWriter jsonWriter,
java.lang.Object object,
java.lang.Object fieldName,
java.lang.reflect.Type fieldType,
long features)
Writes an object to the JSONWriter in JSONB format.
|
getDateFormatter, getDateFormatterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFeatures, getFieldValue, getFieldWriter, getFieldWriter, getFieldWriters, hasFilter, setFilter, setNameFilter, setPropertyFilter, setPropertyPreFilter, setValueFilter, toJSONString, write, writeArrayMapping, writeArrayMappingJSONB, writeArrayMappingJSONB, writeTypeInfo, writeWithFilter, writeWithFilterfinal java.lang.Class objectClass
final java.lang.reflect.Method getYear
final java.lang.reflect.Method getMonthOfYear
final java.lang.reflect.Method getDayOfMonth
final java.util.function.ToIntFunction getHourOfDay
final java.util.function.ToIntFunction getMinuteOfHour
final java.util.function.ToIntFunction getSecondOfMinute
final java.util.function.ToIntFunction getMillisOfSecond
final java.util.function.Function getChronology
final java.lang.Class isoChronology
final java.lang.Object utc
LocalDateTimeWriter(java.lang.Class objectClass,
java.lang.String format)
public void writeJSONB(JSONWriter jsonWriter, java.lang.Object object, java.lang.Object fieldName, java.lang.reflect.Type fieldType, long features)
ObjectWriterwriteJSONB in interface ObjectWriterjsonWriter - the JSONWriter to which the object should be writtenobject - the object to writefieldName - the name of the field being writtenfieldType - the type of the field being writtenfeatures - the features to use for writingpublic void write(JSONWriter jsonWriter, java.lang.Object object, java.lang.Object fieldName, java.lang.reflect.Type fieldType, long features)
ObjectWriterwrite in interface ObjectWriterjsonWriter - the JSONWriter to which the object should be writtenobject - the object to writefieldName - the name of the field being writtenfieldType - the type of the field being writtenfeatures - the features to use for writing