Constructor

ArrowTimestampDataTypenew

Declaration [src]

GArrowTimestampDataType*
garrow_timestamp_data_type_new (
  GArrowTimeUnit unit,
  GTimeZone* time_zone
)

Description

No description available.
Available since:0.7.0

Parameters

unit GArrowTimeUnit
 

The unit of the timestamp data.

time_zone GTimeZone
 

The time zone of the timestamp data. If based GLib is less than 2.58, this is ignored.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: GArrowTimestampDataType
 

A newly created the number of seconds/milliseconds/microseconds/nanoseconds since UNIX epoch in 64-bit signed integer data type.

 The caller of the function takes ownership of the data, and is responsible for freeing it.