libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
|
#include <gimbal_date_time.h>
Data Fields | |
GblHour | hours |
GblMinute | minutes |
GblSecond | seconds |
GblNanoSecond | nSeconds |
Related Symbols | |
(Note that these are not member symbols.) | |
Time Methods | |
Member functions for GblTime | |
GblBool | GblTime_isValid (const GblTime *pSelf) |
GblBool | GblTime_isPm (const GblTime *pSelf) |
void | GblTime_set (GblTime *pSelf, GblHour hours, GblMinute mins, GblSecond secs, GblNanoSecond nsec) |
Represents a time-of-day.
Definition at line 124 of file gimbal_date_time.h.
Returns GBL_TRUE if the given time structure represents a valid time.
Returns GBL_TRUE if the given GblTime is PM, false if it's AM.
|
related |
Sets the values of the given GblTime structure, with nsecs defaulting to 0.
GblHour GblTime::hours |
Hour within a day (0-23)
Definition at line 125 of file gimbal_date_time.h.
GblMinute GblTime::minutes |
Minutes within an hour (0-59)
Definition at line 126 of file gimbal_date_time.h.
GblSecond GblTime::seconds |
Seconds within a minute (0-59)
Definition at line 127 of file gimbal_date_time.h.
GblNanoSecond GblTime::nSeconds |
Nanosconds within a second (0-1000000000)
Definition at line 128 of file gimbal_date_time.h.