11 #ifndef _OsDateTimeLinux_h_ 12 #define _OsDateTimeLinux_h_ 41 const unsigned char month,
42 const unsigned char day,
43 const unsigned char hour,
44 const unsigned char minute,
45 const unsigned char second,
46 const unsigned int microsecond);
64 static void setTime(
struct timespec gmt,
int tzOffsetSecs,
110 #endif // _OsDateTimeLinux_h_ static void setTime(struct timespec gmt, int tzOffsetSecs, DstRule dstRule)
Definition: OsDateTimeLinux.cpp:112
Definition: OsDateTimeLinux.h:30
static unsigned long getSecsSinceEpoch(void)
Definition: OsDateTimeLinux.cpp:209
virtual ~OsDateTimeLinux()
Definition: OsDateTimeLinux.cpp:90
OsDateTimeLinux & operator=(const OsDateTimeLinux &rhs)
Definition: OsDateTimeLinux.cpp:99
OsStatus
Definition: OsStatus.h:27
static double secondsSinceBoot(void)
Definition: OsDateTimeLinux.cpp:215
OsDateTimeLinux()
Definition: OsDateTimeLinux.cpp:43
static void getCurTime(OsDateTimeLinux &rDateTime)
Definition: OsDateTimeLinux.cpp:175
DstRule
Definition: OsDateTime.h:59
static void setTimeZone(int tzOffsetSecs, DstRule dstRule)
param: (in) gmt - time relative to the beginning of 1970 (GMT) param: (in) tzOffsetSecs - local time ...
Definition: OsDateTimeLinux.cpp:119
Definition: OsDateTime.h:54
virtual OsStatus cvtToTimeSinceBoot(OsTime &rTime) const
param: (in) tzOffsetSecs - local time offset (seconds relative to GMT) param: (in) dstRule - daylight...
Definition: OsDateTimeLinux.cpp:128
static void getCurTimeSinceBoot(OsTime &rTime)
Definition: OsDateTimeLinux.cpp:194