#include <timestamp_t.h>
|
static KUZU_API timestamp_t | fromCString (const char *str, uint64_t len) |
|
static KUZU_API std::string | toString (timestamp_t timestamp) |
|
static KUZU_API date_t | getDate (timestamp_t timestamp) |
|
static KUZU_API dtime_t | getTime (timestamp_t timestamp) |
|
static KUZU_API timestamp_t | fromDateTime (date_t date, dtime_t time) |
|
static KUZU_API bool | tryConvertTimestamp (const char *str, uint64_t len, timestamp_t &result) |
|
static KUZU_API void | convert (timestamp_t timestamp, date_t &out_date, dtime_t &out_time) |
|
static KUZU_API timestamp_t | fromEpochMicroSeconds (int64_t epochMs) |
|
static KUZU_API timestamp_t | fromEpochMilliSeconds (int64_t ms) |
|
static KUZU_API timestamp_t | fromEpochSeconds (int64_t sec) |
|
static KUZU_API timestamp_t | fromEpochNanoSeconds (int64_t ns) |
|
static KUZU_API int32_t | getTimestampPart (DatePartSpecifier specifier, timestamp_t ×tamp) |
|
static KUZU_API timestamp_t | trunc (DatePartSpecifier specifier, timestamp_t &date) |
|
static KUZU_API int64_t | getEpochNanoSeconds (const timestamp_t ×tamp) |
|
static KUZU_API int64_t | getEpochMilliSeconds (const timestamp_t ×tamp) |
|
static KUZU_API int64_t | getEpochSeconds (const timestamp_t ×tamp) |
|
static KUZU_API bool | tryParseUTCOffset (const char *str, uint64_t &pos, uint64_t len, int &hour_offset, int &minute_offset) |
|
static std::string | getTimestampConversionExceptionMsg (const char *str, uint64_t len, const std::string &typeID="TIMESTAMP") |
|
static KUZU_API timestamp_t | getCurrentTimestamp () |
|
◆ convert()
◆ fromCString()
static KUZU_API timestamp_t kuzu::common::Timestamp::fromCString |
( |
const char * | str, |
|
|
uint64_t | len ) |
|
static |
◆ fromDateTime()
◆ fromEpochMicroSeconds()
◆ fromEpochMilliSeconds()
◆ fromEpochNanoSeconds()
◆ fromEpochSeconds()
◆ getCurrentTimestamp()
◆ getDate()
◆ getEpochMilliSeconds()
static KUZU_API int64_t kuzu::common::Timestamp::getEpochMilliSeconds |
( |
const timestamp_t & | timestamp | ) |
|
|
static |
◆ getEpochNanoSeconds()
static KUZU_API int64_t kuzu::common::Timestamp::getEpochNanoSeconds |
( |
const timestamp_t & | timestamp | ) |
|
|
static |
◆ getEpochSeconds()
static KUZU_API int64_t kuzu::common::Timestamp::getEpochSeconds |
( |
const timestamp_t & | timestamp | ) |
|
|
static |
◆ getTime()
◆ getTimestampConversionExceptionMsg()
static std::string kuzu::common::Timestamp::getTimestampConversionExceptionMsg |
( |
const char * | str, |
|
|
uint64_t | len, |
|
|
const std::string & | typeID = "TIMESTAMP" ) |
|
inlinestatic |
◆ getTimestampPart()
◆ toString()
◆ trunc()
◆ tryConvertTimestamp()
static KUZU_API bool kuzu::common::Timestamp::tryConvertTimestamp |
( |
const char * | str, |
|
|
uint64_t | len, |
|
|
timestamp_t & | result ) |
|
static |
◆ tryParseUTCOffset()
static KUZU_API bool kuzu::common::Timestamp::tryParseUTCOffset |
( |
const char * | str, |
|
|
uint64_t & | pos, |
|
|
uint64_t | len, |
|
|
int & | hour_offset, |
|
|
int & | minute_offset ) |
|
static |
The documentation for this class was generated from the following file: