public final class LocalMktDateEncoder
extends java.lang.Object
LocalMktDateDecoder for details of the format.
See UtcTimestampEncoder for UTC Timestamps.| Modifier and Type | Field and Description |
|---|---|
static int |
LENGTH |
static int |
MAX_EPOCH_DAYS |
static int |
MIN_EPOCH_DAYS |
| Constructor and Description |
|---|
LocalMktDateEncoder() |
| Modifier and Type | Method and Description |
|---|---|
int |
encode(int localEpochDays,
byte[] bytes)
Encode a FIX Local Market Date value to a
byte[]. |
static int |
encode(int localEpochDays,
MutableAsciiBuffer buffer,
int offset)
Encode a FIX Local Market Date value to a
MutableAsciiBuffer. |
public static final int LENGTH
public static final int MIN_EPOCH_DAYS
public static final int MAX_EPOCH_DAYS
public int encode(int localEpochDays,
byte[] bytes)
byte[].localEpochDays - the number of days since 1970-01-01 in the local timezone.bytes - a byte[] to encode the data into.public static int encode(int localEpochDays,
MutableAsciiBuffer buffer,
int offset)
MutableAsciiBuffer.localEpochDays - the number of days since 1970-01-01 in the local timezone.buffer - a MutableAsciiBuffer to encode the data into.offset - the offset to start within bufferCopyright © 2015-2022 Real Logic Limited. All Rights Reserved.