|
|
std::time_t | toUnix () const |
| |
|
TimeSpec | toSpecUtc () const |
| |
|
void | toLocal (std::tm *pBrokenDown) const |
| |
|
void | toUtc (std::tm *pBrokenDown) const |
| |
|
std::string | toIso8601 (void) const |
| |
|
std::string | format (const char *pFmt) const |
| |
|
bool | normalize () |
| |
|
void | set (Year year, Month month=Month::January, Day day=1, Hour hours=0, Minute mins=0, Second secs=0, NanoSecond ns=0, Second tzOff=0) |
| |
|
void | setDate (const Date &other) |
| |
|
void | setTime (const Time &other) |
| |
|
bool | isValid () const |
| |
|
bool | isUtc () const |
| |
|
bool | isLocal () const |
| |
|
| GblDate | date |
| |
| GblTime | time |
| |
| int16_t | utcOffset |
| |
| GblBool | GblDateTime_isValid (const GblDateTime *pSelf) |
| |
| GblBool | GblDateTime_isUtc (const GblDateTime *pSelf) |
| |
| GblBool | GblDateTime_isLocal (const GblDateTime *pSelf) |
| |
| GblDateTime * | GblDateTime_create (GblYear year, GblMonth month, GblDay day, GblHour hours, GblMinute mins, GblSecond secs, GblNanoSecond ns, GblSecond tzOff) |
| |
| GblDateTime * | GblDateTime_ref (GblDateTime *pDt) |
| |
| GblRefCount | GblDateTime_unref (GblDateTime *pDt) |
| |
| GblDateTime * | GblDateTime_fromUnix (GblDateTime *pSelf, time_t epoch) |
| |
| GblDateTime * | GblDateTime_fromSpecUtc (GblDateTime *pSelf, const GblTimeSpec *pSpec) |
| |
| GblDateTime * | GblDateTime_fromLocal (GblDateTime *pSelf, const struct tm *pLocal) |
| |
| GblDateTime * | GblDateTime_fromUtc (GblDateTime *pSelf, const struct tm *pUtc) |
| |
| GblDateTime * | GblDateTime_nowLocal (GblDateTime *pSelf) |
| |
| GblDateTime * | GblDateTime_nowUtc (GblDateTime *pSelf) |
| |
| GblDateTime * | GblDateTime_parse (GblDateTime *pSelf, const char *pString, const char *pFormat) |
| |
| time_t | GblDateTime_toUnix (const GblDateTime *pSelf) |
| |
| GblTimeSpec | GblDateTime_toSpecUtc (const GblDateTime *pSelf) |
| |
| GBL_RESULT | GblDateTime_toLocal (const GblDateTime *pSelf, struct tm *pTm) |
| |
| GBL_RESULT | GblDateTime_toUtc (const GblDateTime *pSelf, struct tm *pTm) |
| |
| const char * | GblDateTime_toIso8601 (const GblDateTime *pSelf, GblStringBuffer *pBuff) |
| |
| const char * | GblDateTime_format (const GblDateTime *pSelf, GblStringBuffer *pBuffer, const char *pFmt) |
| |
| GblDateTime * | GblDateTime_normalize (GblDateTime *pSelf) |
| |
| void | GblDateTime_setDate (GblDateTime *pSelf, const GblDate *pDate) |
| |
| void | GblDateTime_setTime (GblDateTime *pSelf, const GblTime *pTime) |
| |
| GblDateTime * | GblDateTime_set (GblDateTime *pSelf, GblYear year, GblMonth month, GblDay day, GblHour hours, GblMinute mins, GblSecond secs, GblNanoSecond ns, GblSecond tzOff) |
| |
| int | GblDateTime_compare (const GblDateTime *pSelf, const GblDateTime *pRhs) |
| |
| GblBool | GblDateTime_equals (const GblDateTime *pSelf, const GblDateTime *pRhs) |
| |
| GblTimeSpec | GblDateTime_diff (const GblDateTime *pSelf, const GblDateTime *pRhs) |
| |
| GblDateTime * | GblDateTime_add (GblDateTime *pSelf, const GblDateTime *pRhs) |
| |
| GblDateTime * | GblDateTime_addDays (GblDateTime *pSelf, GblDay days) |
| |
| GblDateTime * | GblDateTime_addHours (GblDateTime *pSelf, GblHour hours) |
| |
| GblDateTime * | GblDateTime_addMinutes (GblDateTime *pSelf, GblMinute minutes) |
| |
| GblDateTime * | GblDateTime_addSeconds (GblDateTime *pSelf, GblSecond seconds) |
| |
| GblDateTime * | GblDateTime_addMilliSecs (GblDateTime *pSelf, int mSecs) |
| |
| GblDateTime * | GblDateTime_addMicroSecs (GblDateTime *pSelf, int uSecs) |
| |
| GblDateTime * | GblDateTime_addNanoSecs (GblDateTime *pSelf, GblNanoSecond nSecs) |
| |
| GblDateTime * | GblDateTime_addWeeks (GblDateTime *pSelf, int weeks) |
| |
| GblDateTime * | GblDateTime_addMonths (GblDateTime *pSelf, int months) |
| |
| GblDateTime * | GblDateTime_addYears (GblDateTime *pSelf, GblYear years) |
| |
Definition at line 80 of file gimbal_date_time.hpp.