12 #ifndef _OsDateTimeWnt_h_ 13 #define _OsDateTimeWnt_h_ 42 const unsigned char month,
43 const unsigned char day,
44 const unsigned char hour,
45 const unsigned char minute,
46 const unsigned char second,
47 const unsigned int microsecond);
65 static void setTime(
struct timespec gmt,
int tzOffsetSecs,
110 #endif // _OsDateTimeWnt_h_ static void setTimeZone(int tzOffsetSecs, DstRule dstRule)
param: (in) gmt - time relative to the beginning of 1970 (GMT) param: (in) tzOffsetSecs - local time ...
Definition: OsDateTimeWnt.cpp:156
static unsigned long getSecsSinceEpoch(void)
Definition: OsDateTimeWnt.cpp:338
Definition: OsDateTimeWnt.h:31
OsStatus
Definition: OsStatus.h:27
OsDateTimeWnt & operator=(const OsDateTimeWnt &rhs)
Definition: OsDateTimeWnt.cpp:136
OsDateTimeWnt()
Definition: OsDateTimeWnt.cpp:70
static void setTime(struct timespec gmt, int tzOffsetSecs, DstRule dstRule)
Definition: OsDateTimeWnt.cpp:149
static void getCurTimeSinceBoot(OsTime &rTime)
Definition: OsDateTimeWnt.cpp:323
virtual ~OsDateTimeWnt()
Definition: OsDateTimeWnt.cpp:127
DstRule
Definition: OsDateTime.h:59
virtual OsStatus cvtToTimeSinceBoot(OsTime &rTime) const
param: (in) tzOffsetSecs - local time offset (seconds relative to GMT) param: (in) dstRule - daylight...
Definition: OsDateTimeWnt.cpp:165
Definition: OsDateTime.h:54
static void getCurTime(OsDateTimeWnt &rDateTime)
Definition: OsDateTimeWnt.cpp:306