Constructor

ArrowTimestampDataTypenew

since: 0.7.0

Declaration [src]

GArrowTimestampDataType*
garrow_timestamp_data_type_new (
  GArrowTimeUnit unit,
  GTimeZone* time_zone
)

Description

No description available.

Available since: 0.7.0

Parameters

unit

Type: GArrowTimeUnit

The unit of the timestamp data.

time_zone

Type: 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

Type: 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.