public class NanoTimestampLongConverter extends AbstractTimestampLongConverter
| Modifier and Type | Field and Description |
|---|---|
static NanoTimestampLongConverter |
INSTANCE |
TIMESTAMP_LONG_CONVERTERS_ZONE_ID_SYSTEM_PROPERTY, UTC| Constructor and Description |
|---|
NanoTimestampLongConverter() |
NanoTimestampLongConverter(String zoneId) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendFraction(DateTimeFormatterBuilder builder)
Append any fractions we expect to parse
|
protected long |
parseFormattedDate(ZonedDateTime value)
Interpret formatted date
|
protected long |
parseTimestamp(long value,
CharSequence text)
Interpret long timestamp
|
append, append, append, parseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEncode, allSafeChars, asString, asText, asText, forSymbols, lengthCheck, maxParseLength, maxParseLengthpublic static final NanoTimestampLongConverter INSTANCE
public NanoTimestampLongConverter()
public NanoTimestampLongConverter(String zoneId)
protected long parseFormattedDate(ZonedDateTime value)
AbstractTimestampLongConverterparseFormattedDate in class AbstractTimestampLongConvertervalue - The parsed formatted date (in UTC zone)protected long parseTimestamp(long value,
CharSequence text)
AbstractTimestampLongConverterparseTimestamp in class AbstractTimestampLongConvertervalue - The parsed timestampprotected void appendFraction(DateTimeFormatterBuilder builder)
AbstractTimestampLongConverterappendFraction in class AbstractTimestampLongConverterbuilder - The builder after the initial date format has been addedCopyright © 2022. All rights reserved.