Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::common::Time Class Reference

#include <dtime_t.h>

Static Public Member Functions

static KUZU_API dtime_t fromCString (const char *buf, uint64_t len)
 
static KUZU_API bool tryConvertInterval (const char *buf, uint64_t len, uint64_t &pos, dtime_t &result)
 
static KUZU_API bool tryConvertTime (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 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 isValid (int32_t hour, int32_t minute, int32_t second, int32_t milliseconds)
 

Member Function Documentation

◆ convert()

static KUZU_API void kuzu::common::Time::convert ( dtime_t time,
int32_t & out_hour,
int32_t & out_min,
int32_t & out_sec,
int32_t & out_micros )
static

◆ fromCString()

static KUZU_API dtime_t kuzu::common::Time::fromCString ( const char * buf,
uint64_t len )
static

◆ fromTime()

static KUZU_API dtime_t kuzu::common::Time::fromTime ( int32_t hour,
int32_t minute,
int32_t second,
int32_t microseconds = 0 )
static

◆ isValid()

static KUZU_API bool kuzu::common::Time::isValid ( int32_t hour,
int32_t minute,
int32_t second,
int32_t milliseconds )
static

◆ toString()

static KUZU_API std::string kuzu::common::Time::toString ( dtime_t time)
static

◆ tryConvertInterval()

static KUZU_API bool kuzu::common::Time::tryConvertInterval ( const char * buf,
uint64_t len,
uint64_t & pos,
dtime_t & result )
static

◆ tryConvertTime()

static KUZU_API bool kuzu::common::Time::tryConvertTime ( const char * buf,
uint64_t len,
uint64_t & pos,
dtime_t & result )
static

The documentation for this class was generated from the following file: