mirror of
https://github.com/nasa/trick.git
synced 2024-12-25 15:51:05 +00:00
26 lines
462 B
C
26 lines
462 B
C
|
|
#ifndef _TIME_OFFSET_H_
|
|
#define _TIME_OFFSET_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct {
|
|
|
|
int day; /* -- Day of the year, 0 .. 364 */
|
|
int hour; /* -- Hour of the day, 0 .. 23 */
|
|
int min; /* -- Minute of the hour, 0 .. 59 */
|
|
double sec; /* -- Seconds of the hour 0.0 .. 59.99999999 */
|
|
|
|
} TIME_OFFSET ;
|
|
|
|
// For backwards compatibility
|
|
typedef TIME_OFFSET GMTTIME ;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|
|
|