trick/trick_source/sim_services/SimTime/include/time_offset.h
2015-02-26 09:02:31 -06:00

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