protected static class AbstractFormattedTimestampJsonProvider.StringFormatterWriter extends Object implements AbstractFormattedTimestampJsonProvider.TimestampWriter
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.