libGimbal 0.1.0
C17-Based Extended Standard Library and Cross-Language Runtime Framework
Loading...
Searching...
No Matches
GblTime Struct Reference

#include <gimbal_date_time.h>

Inheritance diagram for GblTime:
gbl::Time

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)
 

Detailed Description

Represents a time-of-day.

Definition at line 124 of file gimbal_date_time.h.

Friends And Related Symbol Documentation

◆ GblTime_isValid()

GblBool GblTime_isValid ( const GblTime pSelf)
related

Returns GBL_TRUE if the given time structure represents a valid time.

◆ GblTime_isPm()

GblBool GblTime_isPm ( const GblTime pSelf)
related

Returns GBL_TRUE if the given GblTime is PM, false if it's AM.

◆ GblTime_set()

void GblTime_set ( GblTime pSelf,
GblHour  hours,
GblMinute  mins,
GblSecond  secs,
GblNanoSecond  nsec 
)
related

Sets the values of the given GblTime structure, with nsecs defaulting to 0.

Field Documentation

◆ hours

GblHour GblTime::hours

Hour within a day (0-23)

Definition at line 125 of file gimbal_date_time.h.

◆ minutes

GblMinute GblTime::minutes

Minutes within an hour (0-59)

Definition at line 126 of file gimbal_date_time.h.

◆ seconds

GblSecond GblTime::seconds

Seconds within a minute (0-59)

Definition at line 127 of file gimbal_date_time.h.

◆ nSeconds

GblNanoSecond GblTime::nSeconds

Nanosconds within a second (0-1000000000)

Definition at line 128 of file gimbal_date_time.h.


The documentation for this struct was generated from the following file: