建構子

ArrowTimestampDataTypenew

始於: 0.7.0

宣告 [src]

GArrowTimestampDataType*
garrow_timestamp_data_type_new (
  GArrowTimeUnit unit,
  GTimeZone* time_zone
)

描述

無可用描述。

始於: 0.7.0

參數

單位

類型: GArrowTimeUnit

時間戳記資料的單位。

時區

類型: GTimeZone

時間戳記資料的時區。如果 GLib 版本低於 2.58,則會忽略此參數。

參數可以為 NULL
資料的所有權屬於函式的呼叫者。

回傳值

類型: GArrowTimestampDataType

一個新建立的 64 位元有號整數資料類型,表示自 UNIX 紀元以來的秒數/毫秒/微秒/奈秒。

函式的呼叫者取得資料的所有權,並負責釋放它。