References Deprecated
DateTimeSerializerBase is deprecated or references (maybe indirectly) at least one deprecated element.
See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| public static final DateSerializer | instance
References Deprecated
Default instance that is used when no contextual configuration
is needed.
DateSerializer is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected long | _timestamp(Date value)
Implements abstract com.
|
| public void | serialize(Date
Value to serialize; can not be null. value, JsonGenerator Generator used to output resulting Json content g, SerializerProvider Provider that can be used to get serializers for
serializing Objects value contains, if any. provider)Implements abstract com. Method that can be called to ask implementation to serialize values of type this serializer handles. |
| public DateSerializer | withFormat(Boolean timestamp, DateFormat customFormat)
Implements abstract com.
References Deprecated
DateSerializer is deprecated or references (maybe indirectly) at least one deprecated element.
|
| instance | back to summary |
|---|---|
| public static final DateSerializer instance
References Deprecated
See corresponding docs for further information. Default instance that is used when no contextual configuration is needed. | |
| DateSerializer | back to summary |
|---|---|
| public DateSerializer() | |
| DateSerializer | back to summary |
|---|---|
| public DateSerializer(Boolean useTimestamp, DateFormat customFormat) | |
| _timestamp | back to summary |
|---|---|
| protected long _timestamp(Date value) Implements abstract com.
| |
| serialize | back to summary |
|---|---|
| public void serialize(Date value, JsonGenerator g, SerializerProvider provider) throws IOException Implements abstract com. Doc from com. Method that can be called to ask implementation to serialize values of type this serializer handles.
| |
| withFormat | back to summary |
|---|---|
| public DateSerializer withFormat(Boolean timestamp, DateFormat customFormat) Implements abstract com. References Deprecated
See corresponding docs for further information.
| |