117 static void extractYearOffset(int32_t& n, int32_t& year, int32_t& year_offset);
#define KUZU_API
Definition api.h:25
static KUZU_API int32_t monthDays(int32_t year, int32_t month)
static KUZU_API const int8_t MONTH_PER_DAY_OF_YEAR[365]
Definition date_t.h:65
static KUZU_API bool parseDoubleDigit(const char *buf, uint64_t len, uint64_t &pos, int32_t &result)
static KUZU_API const int32_t LEAP_DAYS[13]
Definition date_t.h:62
static KUZU_API std::string toString(date_t date)
static KUZU_API const regex::RE2 & regexPattern()
static KUZU_API date_t trunc(DatePartSpecifier specifier, date_t &date)
static KUZU_API const int8_t LEAP_MONTH_PER_DAY_OF_YEAR[366]
Definition date_t.h:66
static KUZU_API bool isLeapYear(int32_t year)
KUZU_API static constexpr const int32_t YEAR_INTERVAL
Definition date_t.h:72
static KUZU_API std::string getMonthName(date_t &date)
static KUZU_API int64_t getEpochNanoSeconds(const date_t &date)
static KUZU_API bool isValid(int32_t year, int32_t month, int32_t day)
KUZU_API static constexpr const int32_t EPOCH_YEAR
Definition date_t.h:70
static KUZU_API void convert(date_t date, int32_t &out_year, int32_t &out_month, int32_t &out_day)
static KUZU_API const int32_t CUMULATIVE_YEAR_DAYS[401]
Definition date_t.h:64
static KUZU_API const int32_t CUMULATIVE_DAYS[13]
Definition date_t.h:61
static KUZU_API int32_t getDatePart(DatePartSpecifier specifier, date_t &date)
static KUZU_API const int32_t CUMULATIVE_LEAP_DAYS[13]
Definition date_t.h:63
static KUZU_API date_t fromCString(const char *str, uint64_t len)
static KUZU_API bool tryConvertDate(const char *buf, uint64_t len, uint64_t &pos, date_t &result)
static KUZU_API date_t getLastDay(date_t &date)
KUZU_API static constexpr const int32_t MAX_YEAR
Definition date_t.h:69
KUZU_API static constexpr const int32_t DAYS_PER_YEAR_INTERVAL
Definition date_t.h:73
static constexpr const char * BC_SUFFIX
Definition date_t.h:74
static KUZU_API const int32_t NORMAL_DAYS[13]
Definition date_t.h:60
static KUZU_API std::string getDayName(date_t &date)
KUZU_API static constexpr const int32_t MIN_YEAR
Definition date_t.h:68
static KUZU_API date_t fromDate(int32_t year, int32_t month, int32_t day)
date_t operator+(int64_t i, const date_t date)
Definition date_t.h:48
enum KUZU_API DatePartSpecifier
Definition interval_t.h:19
Definition array_utils.h:7
bool operator>(const date_t &rhs) const
bool operator<(const date_t &rhs) const
bool operator==(const date_t &rhs) const
bool operator>(const timestamp_t &rhs) const
date_t operator-(const interval_t &interval) const
bool operator>=(const timestamp_t &rhs) const
bool operator==(const timestamp_t &rhs) const
bool operator>=(const date_t &rhs) const
date_t operator+(const interval_t &interval) const
date_t operator-(const int32_t &day) const
bool operator<=(const timestamp_t &rhs) const
date_t operator+(const int32_t &day) const
bool operator<(const timestamp_t &rhs) const
bool operator!=(const timestamp_t &rhs) const
int32_t days
Definition date_t.h:17
int64_t operator-(const date_t &rhs) const
bool operator!=(const date_t &rhs) const
bool operator<=(const date_t &rhs) const
Definition interval_t.h:35
Definition timestamp_t.h:10