java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.Date
public final class Date
extends com.google.flatbuffers.Table
Date is either a 32-bit or 64-bit signed integer type representing an
elapsed time since UNIX epoch (1970-01-01), stored in either of two units:
* Milliseconds (64 bits) indicating UNIX time elapsed since the epoch (no
leap seconds), where the values are evenly divisible by 86400000
* Days (32 bits) since the UNIX epoch
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.google.flatbuffers.Table
bb, bb_pos
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__assign
(int _i, ByteBuffer _bb) void
__init
(int _i, ByteBuffer _bb) static void
addUnit
(com.google.flatbuffers.FlatBufferBuilder builder, short unit) static int
createDate
(com.google.flatbuffers.FlatBufferBuilder builder, short unit) static int
endDate
(com.google.flatbuffers.FlatBufferBuilder builder) static Date
getRootAsDate
(ByteBuffer _bb) static Date
getRootAsDate
(ByteBuffer _bb, Date obj) static void
startDate
(com.google.flatbuffers.FlatBufferBuilder builder) short
unit()
static void
Methods inherited from class com.google.flatbuffers.Table
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
-
Constructor Details
-
Date
public Date()
-
-
Method Details
-
ValidateVersion
public static void ValidateVersion() -
getRootAsDate
-
getRootAsDate
-
__init
-
__assign
-
unit
public short unit() -
createDate
public static int createDate(com.google.flatbuffers.FlatBufferBuilder builder, short unit) -
startDate
public static void startDate(com.google.flatbuffers.FlatBufferBuilder builder) -
addUnit
public static void addUnit(com.google.flatbuffers.FlatBufferBuilder builder, short unit) -
endDate
public static int endDate(com.google.flatbuffers.FlatBufferBuilder builder)
-