|
(Note that these are not member symbols.)
|
|
Methods for getting values
|
GblBool | GblDateTime_isValid (const GblDateTime *pSelf) |
|
GblBool | GblDateTime_isUtc (const GblDateTime *pSelf) |
|
GblBool | GblDateTime_isLocal (const GblDateTime *pSelf) |
|
|
Methods for managing shared references
|
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) |
|
|
Methods for constructing and populating
|
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) |
|
|
Methods for converting to another format
|
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) |
|
|
Methods for writing values
|
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) |
|
|
Methods implementing operations
|
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) |
|
Represents a combined calendar date with time-of-day.
Definition at line 134 of file gimbal_date_time.h.