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
Nested Classes -
Field Summary
Fields inherited from class com.google.flatbuffers.Table
bb, bb_pos -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static voidaddUnit(com.google.flatbuffers.FlatBufferBuilder builder, short unit) static intcreateDate(com.google.flatbuffers.FlatBufferBuilder builder, short unit) static intendDate(com.google.flatbuffers.FlatBufferBuilder builder) static DategetRootAsDate(ByteBuffer _bb) static DategetRootAsDate(ByteBuffer _bb, Date obj) static voidstartDate(com.google.flatbuffers.FlatBufferBuilder builder) shortunit()static voidMethods 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)
-