public class ServicesTimestampLongConverter extends Object implements LongConverter
| Modifier and Type | Field and Description |
|---|---|
static ServicesTimestampLongConverter |
INSTANCE |
| Constructor and Description |
|---|
ServicesTimestampLongConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
append(net.openhft.chronicle.bytes.Bytes<?> bytes,
long value)
* Appends to provided
value to the provided text. |
void |
append(StringBuilder text,
long value)
Appends the provided
value to the provided text. |
static long |
currentTime() |
static long |
currentTime(net.openhft.chronicle.core.time.TimeProvider clock) |
long |
parse(CharSequence text)
Parses the provided
CharSequence and returns the parsed results as a
long primitive. |
static TimeUnit |
timeUnit() |
static long |
toTime(long arg) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddEncode, allSafeChars, asString, asText, asText, forSymbols, lengthCheck, maxParseLength, maxParseLength@UsedViaReflection public static final ServicesTimestampLongConverter INSTANCE
public static long toTime(long arg)
public static long currentTime()
public static long currentTime(net.openhft.chronicle.core.time.TimeProvider clock)
public static TimeUnit timeUnit()
public long parse(CharSequence text)
LongConverterCharSequence and returns the parsed results as a
long primitive.parse in interface LongConvertertext as an long primitive.public void append(StringBuilder text, long value)
LongConvertervalue to the provided text.append in interface LongConverterpublic void append(net.openhft.chronicle.bytes.Bytes<?> bytes,
long value)
LongConvertervalue to the provided text.append in interface LongConvertervalue - to append as textCopyright © 2022. All rights reserved.