public final class Timestamp
extends com.google.flatbuffers.Table
| Constructor and Description |
|---|
Timestamp() |
| Modifier and Type | Method and Description |
|---|---|
Timestamp |
__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 timezone) |
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 equal to an empty string, the data is "time
zone naive" and shall be displayed *as is* to the user, not localized
to the locale of the user.
|
ByteBuffer |
timezoneAsByteBuffer() |
short |
unit() |
public static Timestamp getRootAsTimestamp(ByteBuffer _bb)
public static Timestamp getRootAsTimestamp(ByteBuffer _bb, Timestamp obj)
public Timestamp __init(int _i, ByteBuffer _bb)
public short unit()
public String timezone()
public ByteBuffer timezoneAsByteBuffer()
public static int createTimestamp(com.google.flatbuffers.FlatBufferBuilder builder,
short unit,
int timezone)
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 © 2018 The Apache Software Foundation. All rights reserved.