46 printf(
"ERROR OCCURRED IN toString!!");
57 short tmpHours = tm->
hours + hours;
70 short tmpMinutes = tm->
minutes + minutes;
78 while (tmpMinutes < 0) {
90 short tmpSeconds = tm->
seconds + seconds;
98 while (tmpSeconds < 0) {
110 short tmpMs = tm->
ms + ms;
void TKIncrementHours(clocktime *tm, short hours)
void TKDestroy(clocktime *tm)
#define TK_PRINT_MODE_HOURS_MINUTES
#define TK_TIME_INVALID_HOURS
#define TK_TIME_INVALID_MINUTES
#define TK_TIME_INVALID_MS
void TKIncrementMS(clocktime *tm, short ms)
clocktime * TKDuplicateTimeHandle(clocktime *th)
#define TK_TIME_INVALID_SECONDS
char * TKToString(clocktime *tm)
void TKCleanupTime(clocktime *tm)
void TKIncrementSeconds(clocktime *tm, short seconds)
short TKValidateTime(clocktime *tm)
void TKIncrementMinutes(clocktime *tm, short minutes)
#define TK_PRINT_MODE_HOURS_MINUTES_SECONDS_MS
#define TK_PRINT_MODE_HOURS_MINUTES_SECONDS
clocktime * TKCreateTimeHandle(char mode)