wce_time.cpp File Reference

#include <windows.h>
#include <tchar.h>
#include "wce_time.h"

Include dependency graph for wce_time.cpp:

Go to the source code of this file.

Defines

#define NS_PER_SEC   10000000
#define NS_PER_MS   10000
#define _FACTOR   (0x19db1ded53ea710)

Functions

int ftime (struct timeb *tp)
static __int64 wce_FILETIME2int64 (FILETIME f)
static FILETIME wce_int642FILETIME (__int64 t)
static FILETIME wce_getFILETIMEFromYear (WORD year)
static time_t wce_getYdayFromSYSTEMTIME (const SYSTEMTIME *s)
static SYSTEMTIME wce_tm2SYSTEMTIME (struct tm *t)
static struct tm wce_SYSTEMTIME2tm (SYSTEMTIME *s)
time_t wce_FILETIME2time_t (const FILETIME *f)
FILETIME wce_time_t2FILETIME (const time_t t)
time_t time (time_t *timer)
struct tmlocaltime (const time_t *timer)
time_t mktime (struct tm *pt)
struct tmgmtime (const time_t *t)
char * ctime (const time_t *t)
char * asctime (const struct tm *pt)
void tzset ()
struct timeb Filetime2timeb (FILETIME *ptr)

Variables

const __int64 _onesec_in100ns = (__int64)10000000
int altzone
int daylight
char * tzname [2]


Define Documentation

#define _FACTOR   (0x19db1ded53ea710)

Definition at line 297 of file wce_time.cpp.

#define NS_PER_MS   10000

Definition at line 296 of file wce_time.cpp.

#define NS_PER_SEC   10000000

Definition at line 295 of file wce_time.cpp.


Function Documentation

char* asctime ( const struct tm pt  ) 

Definition at line 269 of file wce_time.cpp.

char* ctime ( const time_t *  t  ) 

Definition at line 251 of file wce_time.cpp.

struct timeb Filetime2timeb ( FILETIME *  ptr  )  [read]

Definition at line 299 of file wce_time.cpp.

int ftime ( struct timeb tp  ) 

Definition at line 46 of file wce_time.cpp.

struct tm* gmtime ( const time_t *  t  )  [read]

Definition at line 239 of file wce_time.cpp.

struct tm* localtime ( const time_t *  timer  )  [read]

Definition at line 195 of file wce_time.cpp.

time_t mktime ( struct tm pt  ) 

Definition at line 221 of file wce_time.cpp.

time_t time ( time_t *  timer  ) 

Definition at line 180 of file wce_time.cpp.

void tzset (  ) 

Definition at line 283 of file wce_time.cpp.

static __int64 wce_FILETIME2int64 ( FILETIME  f  )  [static]

Definition at line 65 of file wce_time.cpp.

time_t wce_FILETIME2time_t ( const FILETIME *  f  ) 

Definition at line 147 of file wce_time.cpp.

static FILETIME wce_getFILETIMEFromYear ( WORD  year  )  [static]

Definition at line 85 of file wce_time.cpp.

static time_t wce_getYdayFromSYSTEMTIME ( const SYSTEMTIME *  s  )  [static]

Definition at line 99 of file wce_time.cpp.

static FILETIME wce_int642FILETIME ( __int64  t  )  [static]

Definition at line 75 of file wce_time.cpp.

static struct tm wce_SYSTEMTIME2tm ( SYSTEMTIME *  s  )  [static, read]

Definition at line 129 of file wce_time.cpp.

FILETIME wce_time_t2FILETIME ( const time_t  t  ) 

Definition at line 163 of file wce_time.cpp.

static SYSTEMTIME wce_tm2SYSTEMTIME ( struct tm t  )  [static]

Definition at line 113 of file wce_time.cpp.


Variable Documentation

const __int64 _onesec_in100ns = (__int64)10000000

Definition at line 39 of file wce_time.cpp.

int altzone

Definition at line 41 of file wce_time.cpp.

int daylight

Definition at line 42 of file wce_time.cpp.

char* tzname[2]

Definition at line 43 of file wce_time.cpp.


Generated on Tue Jul 7 16:22:09 2009 for CoreLibrary by  doxygen 1.5.6