NCBI C++ ToolKit
Classes | Typedefs | Variables
Time And Date
CORELIB
+ Collaboration diagram for Time And Date:

Classes

struct  TDBTimeU
 Database format for time where day and time is unsigned 16 bit. More...
struct  TDBTimeI
 Database format for time where day and time is signed 32 bit. More...
class  CTimeFormat
 CTimeFormat --. More...
class  CTime
 CTime --. More...
class  CTimeSpan
 CTimeSpan. More...
class  CTimeout
 CTimeout -- Timeout interval. More...
class  CNanoTimeout
 CNanoTimeout -- Timeout interval, using nanoseconds. More...
class  CAbsTimeout
 CAbsTimeout. More...
class  CFastLocalTime
 CFastLocalTime --. More...
class  CStopWatch
 CStopWatch --. More...
class  CTimeException
 CTimeException --. More...

Typedefs

typedef Int8 TSeconds
 Number of seconds.
typedef struct TDBTimeUTDBTimeUPtr
typedef struct TDBTimeITDBTimeIPtr

Variables

const long kNanoSecondsPerSecond = 1000000000
 Number of nanoseconds in one second.
const long kMicroSecondsPerSecond = 1000000
 Number of microseconds in one second.
const long kMilliSecondsPerSecond = 1000
 Number milliseconds in one second.

Typedef Documentation

typedef struct TDBTimeI * TDBTimeIPtr
typedef struct TDBTimeU * TDBTimeUPtr
typedef Int8 TSeconds

Number of seconds.

Definition at line 93 of file ncbitime.hpp.


Variable Documentation

const long kMicroSecondsPerSecond = 1000000

Number of microseconds in one second.

Interval for it is from 0 to 999,999.

Definition at line 82 of file ncbitime.hpp.

Referenced by CTimeSpan::AsSmartString(), CTimeout::Get(), s_GetTimeT(), CTimeout::Set(), CRequestRateControl::Sleep(), SleepMicroSec(), SleepSec(), and CAbsTimeout::x_Now().

const long kMilliSecondsPerSecond = 1000

Number milliseconds in one second.

Interval for it is from 0 to 999.

Definition at line 87 of file ncbitime.hpp.

Referenced by CTimeout::GetAsMilliSeconds(), CProcess::Kill(), s_GetTimeT(), and CAbsTimeout::x_Now().

const long kNanoSecondsPerSecond = 1000000000
Modified on Wed May 23 12:58:16 2012 by modify_doxy.py rev. 337098