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.TimestampWriter
IOException
public String getTimestampAsString(long timestampInMillis)
getTimestampAsString
in interface AbstractFormattedTimestampJsonProvider.TimestampWriter
Copyright © 2013–2022. All rights reserved.