Deprecated
as a consequence of DateTimeSerializerBase being deprecated. See corresponding docs for further information.
java.util.Date serialization, we do use String
representation here. Why? Basically to truncate of time part, since
that should not be used by plain SQL date.
| Access | Constructor and Description |
|---|---|
| public | |
| protected |
| 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. |
| public SqlDateSerializer | withFormat(Boolean timestamp, DateFormat customFormat)
Implements abstract com.
Deprecated
as a consequence of
SqlDateSerializer being deprecated.
|
| SqlDateSerializer | back to summary |
|---|---|
| public SqlDateSerializer() | |
| SqlDateSerializer | back to summary |
|---|---|
| protected SqlDateSerializer(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 SqlDateSerializer withFormat(Boolean timestamp, DateFormat customFormat) Implements abstract com. Deprecated as a consequence of
| |