public final class Timestamp
extends com.google.flatbuffers.Table
Modifier and Type | Class and Description |
---|---|
static class |
Timestamp.Vector |
Constructor and Description |
---|
Timestamp() |
Modifier and Type | Method and Description |
---|---|
Timestamp |
__assign(int _i,
ByteBuffer _bb) |
void |
__init(int _i,
ByteBuffer _bb) |
static void |
addTimezone(com.google.flatbuffers.FlatBufferBuilder builder,
int timezoneOffset) |
static void |
addUnit(com.google.flatbuffers.FlatBufferBuilder builder,
short unit) |
static int |
createTimestamp(com.google.flatbuffers.FlatBufferBuilder builder,
short unit,
int timezoneOffset) |
static int |
endTimestamp(com.google.flatbuffers.FlatBufferBuilder builder) |
static Timestamp |
getRootAsTimestamp(ByteBuffer _bb) |
static Timestamp |
getRootAsTimestamp(ByteBuffer _bb,
Timestamp obj) |
static void |
startTimestamp(com.google.flatbuffers.FlatBufferBuilder builder) |
String |
timezone()
The time zone is a string indicating the name of a time zone, one of:
* As used in the Olson time zone database (the "tz database" or
"tzdata"), such as "America/New_York"
* An absolute time zone offset of the form +XX:XX or -XX:XX, such as +07:30
Whether a timezone string is present indicates different semantics about
the data:
* If the time zone is null or an empty string, the data is a local date-time
and does not represent a single moment in time.
|
ByteBuffer |
timezoneAsByteBuffer() |
ByteBuffer |
timezoneInByteBuffer(ByteBuffer _bb) |
short |
unit() |
static void |
ValidateVersion() |
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, __vector, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
public static void ValidateVersion()
public static Timestamp getRootAsTimestamp(ByteBuffer _bb)
public static Timestamp getRootAsTimestamp(ByteBuffer _bb, Timestamp obj)
public void __init(int _i, ByteBuffer _bb)
public Timestamp __assign(int _i, ByteBuffer _bb)
public short unit()
public String timezone()
public ByteBuffer timezoneAsByteBuffer()
public ByteBuffer timezoneInByteBuffer(ByteBuffer _bb)
public static int createTimestamp(com.google.flatbuffers.FlatBufferBuilder builder, short unit, int timezoneOffset)
public static void startTimestamp(com.google.flatbuffers.FlatBufferBuilder builder)
public static void addUnit(com.google.flatbuffers.FlatBufferBuilder builder, short unit)
public static void addTimezone(com.google.flatbuffers.FlatBufferBuilder builder, int timezoneOffset)
public static int endTimestamp(com.google.flatbuffers.FlatBufferBuilder builder)
Copyright © 2023 The Apache Software Foundation. All rights reserved.