protected static class AbstractFormattedTimestampJsonProvider.NumberTimestampWriter extends Object implements AbstractFormattedTimestampJsonProvider.TimestampWriter
| Modifier | Constructor and Description |
|---|---|
protected |
NumberTimestampWriter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getTimestampAsString(long timestampInMillis) |
void |
writeTo(JsonGenerator generator,
String fieldName,
long timestampInMillis) |
public void writeTo(JsonGenerator generator, String fieldName, long timestampInMillis) throws IOException
writeTo in interface AbstractFormattedTimestampJsonProvider.TimestampWriterIOExceptionpublic String getTimestampAsString(long timestampInMillis)
getTimestampAsString in interface AbstractFormattedTimestampJsonProvider.TimestampWriterCopyright © 2013–2022. All rights reserved.