NebulaGraph CPP Client  release-3.8
Duration Struct Reference

Public Member Functions

 Duration (int32_t m, int64_t s, int32_t us)
 
int64_t years () const
 
int64_t monthsInYear () const
 
int64_t days () const
 
int64_t hours () const
 
int64_t minutes () const
 
int64_t secondsInMinute () const
 
int64_t microsecondsInSecond () const
 
Duration operator- () const
 
Duration operator+ (const Duration &rhs) const
 
Duration operator- (const Duration &rhs) const
 
DurationaddYears (int32_t y)
 
DurationaddQuarters (int32_t q)
 
DurationaddMonths (int32_t m)
 
DurationaddWeeks (int32_t w)
 
DurationaddDays (int64_t d)
 
DurationaddHours (int64_t h)
 
DurationaddMinutes (int64_t minutes)
 
DurationaddSeconds (int64_t s)
 
DurationaddMilliseconds (int64_t ms)
 
DurationaddMicroseconds (int32_t us)
 
bool operator< (const Duration &rhs) const =delete
 
bool operator== (const Duration &rhs) const
 
std::string toString () const
 

Public Attributes

int64_t seconds
 
int32_t microseconds
 
int32_t months
 

Detailed Description

Definition at line 17 of file Duration.h.


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