Macros | Functions | Variables
qdatetime.cpp File Reference
#include "qdatetime.h"
#include "qdatastream.h"
#include <stdio.h>
#include <time.h>
#include <sys/time.h>
#include <unistd.h>

Go to the source code of this file.

Macros

#define gettimeofday   __hide_gettimeofday
 

Functions

int gettimeofday (struct timeval *, struct timezone *)
 

Variables

static const uint FIRST_DAY = 2361222
 
static const int FIRST_YEAR = 1752
 
static const uint SECS_PER_DAY = 86400
 
static const uint MSECS_PER_DAY = 86400000
 
static const uint SECS_PER_HOUR = 3600
 
static const uint MSECS_PER_HOUR = 3600000
 
static const uint SECS_PER_MIN = 60
 
static const uint MSECS_PER_MIN = 60000
 
static const short monthDays [] ={0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}
 

Macro Definition Documentation

#define gettimeofday   __hide_gettimeofday

Definition at line 38 of file qdatetime.cpp.

Function Documentation

int gettimeofday ( struct timeval *  ,
struct timezone *   
)

Variable Documentation

const uint FIRST_DAY = 2361222
static

Definition at line 62 of file qdatetime.cpp.

const int FIRST_YEAR = 1752
static

Definition at line 63 of file qdatetime.cpp.

const short monthDays[] ={0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}
static

Definition at line 71 of file qdatetime.cpp.

const uint MSECS_PER_DAY = 86400000
static

Definition at line 65 of file qdatetime.cpp.

const uint MSECS_PER_HOUR = 3600000
static

Definition at line 67 of file qdatetime.cpp.

const uint MSECS_PER_MIN = 60000
static

Definition at line 69 of file qdatetime.cpp.

const uint SECS_PER_DAY = 86400
static

Definition at line 64 of file qdatetime.cpp.

const uint SECS_PER_HOUR = 3600
static

Definition at line 66 of file qdatetime.cpp.

const uint SECS_PER_MIN = 60
static

Definition at line 68 of file qdatetime.cpp.