4 #ifndef RUDIMENTS_DATETIME_H
5 #define RUDIMENTS_DATETIME_H
7 #include <rudiments/private/datetimeincludes.h>
344 static char *
getString(time_t seconds, time_t microseconds);
372 bool ddmm,
bool yyyyddmm,
373 const char *datedelimiters,
374 int16_t *year, int16_t *month,
375 int16_t *day, int16_t *hour,
376 int16_t *minute, int16_t *second,
377 int32_t *microsecond,
bool *isnegative);
381 int16_t year, int16_t month,
382 int16_t day, int16_t hour,
383 int16_t minute, int16_t second,
384 int32_t microsecond,
bool isnegative);
398 #include <rudiments/private/datetime.h>
Definition: datetime.h:12
const char * getString(bool microseconds)
const char * getTimeZoneString() const
static const int32_t * getTimeZoneOffsets()
bool setMinutes(int32_t minutes)
bool isDaylightSavingsTime() const
bool addDays(int32_t days)
bool setSeconds(int32_t seconds)
static bool validDateTime(const char *string)
static char * formatAs(const char *format, int16_t year, int16_t month, int16_t day, int16_t hour, int16_t minute, int16_t second, int32_t microsecond, bool isnegative)
bool setHours(int32_t hours)
bool addMonths(int32_t months)
int32_t getCentury() const
bool setHardwareDateAndTime(const char *hwtz)
bool getSystemDateAndTime()
bool setYears(int32_t years)
int32_t getMinutes() const
bool adjustTimeZone(const char *newtz)
int32_t getDayOfYear() const
static const char *const * getTimeZoneAbbreviations()
static bool parse(const char *datetime, bool ddmm, bool yyyyddmm, const char *datedelimiters, int16_t *year, int16_t *month, int16_t *day, int16_t *hour, int16_t *minute, int16_t *second, int32_t *microsecond, bool *isnegative)
bool initialize(const char *tmstring)
const char * getMonthName() const
int32_t getShortYear() const
bool initialize(time_t seconds, time_t microseconds)
static char * getString(const void *tmstruct)
static void setTimeMutex(threadmutex *mtx)
bool addMicroseconds(int32_t microseconds)
int32_t getDayOfMonth() const
bool initialize(time_t seconds)
bool adjustTimeZone(const char *newtz, bool ignoredst)
bool setDays(int32_t days)
int32_t getSeconds() const
const char * getMonthAbbreviation() const
int32_t getDayOfWeek() const
bool addMinutes(int32_t minutes)
bool initialize(const void *tmstruct)
bool setMonths(int32_t months)
static time_t getEpoch(const char *datestring)
bool getAdjustedHardwareDateAndTime(const char *hwtz)
const char * getSqlString(bool microseconds)
static char * getString(time_t seconds)
bool setMicroseconds(int32_t microseconds)
int32_t getMicroseconds() const
static char * getString(time_t seconds, time_t microseconds)
bool addSeconds(int32_t seconds)
bool setSystemDateAndTime()
int32_t getTimeZoneOffset() const
static time_t getEpoch(const void *tmstruct)
bool addYears(int32_t years)
const char * getSqlString()
bool addHours(int32_t hours)
int32_t getWeekOfYear() const
bool getHardwareDateAndTime(const char *hwtz)
Definition: threadmutex.h:11