20 explicit operator int64_t()
const;
21 explicit operator double()
const;
51 int32_t microseconds = 0);
55 int32_t& out_sec, int32_t& out_micros);
58 int32_t milliseconds);
61 static bool tryConvertInternal(
const char* buf, uint64_t len, uint64_t& pos,
dtime_t& result);
62 static dtime_t fromTimeInternal(int32_t hour, int32_t minute, int32_t second,
63 int32_t microseconds = 0);
#define KUZU_API
Definition api.h:25
static KUZU_API void convert(dtime_t time, int32_t &out_hour, int32_t &out_min, int32_t &out_sec, int32_t &out_micros)
static KUZU_API bool tryConvertInterval(const char *buf, uint64_t len, uint64_t &pos, dtime_t &result)
static KUZU_API std::string toString(dtime_t time)
static KUZU_API dtime_t fromTime(int32_t hour, int32_t minute, int32_t second, int32_t microseconds=0)
static KUZU_API bool isValid(int32_t hour, int32_t minute, int32_t second, int32_t milliseconds)
static KUZU_API bool tryConvertTime(const char *buf, uint64_t len, uint64_t &pos, dtime_t &result)
static KUZU_API dtime_t fromCString(const char *buf, uint64_t len)
Definition array_utils.h:7
int64_t micros
Definition dtime_t.h:13
bool operator>=(const dtime_t &rhs) const
dtime_t(int64_t micros_p)
dtime_t & operator=(int64_t micros_p)
bool operator<=(const dtime_t &rhs) const
bool operator!=(const dtime_t &rhs) const
bool operator==(const dtime_t &rhs) const
bool operator>(const dtime_t &rhs) const
bool operator<(const dtime_t &rhs) const