A simple TimeStamp abstraction.
More...
#include <TimeStamp.hh>
A simple TimeStamp abstraction.
log4shib::TimeStamp::TimeStamp |
( |
| ) |
|
log4shib::TimeStamp::TimeStamp |
( |
unsigned int |
seconds, |
|
|
unsigned int |
microSeconds = 0 |
|
) |
| |
Constructs a TimeStamp representing the given offset since the epoch ( 00:00:00 1970/1/1 UTC).
int log4shib::TimeStamp::getMicroSeconds |
( |
| ) |
const |
|
inline |
Returns the subsecond part of the TimeStamp in microseconds.
The actual precision of this value depends on the platform and may be in the order of milliseconds rather than microseconds.
int log4shib::TimeStamp::getMilliSeconds |
( |
| ) |
const |
|
inline |
int log4shib::TimeStamp::getSeconds |
( |
| ) |
const |
|
inline |
static const TimeStamp& log4shib::TimeStamp::getStartTime |
( |
| ) |
|
|
inlinestatic |
Returns a TimeStamp representing the time at which the application started.
int log4shib::TimeStamp::_microSeconds |
|
protected |
int log4shib::TimeStamp::_seconds |
|
protected |
The documentation for this class was generated from the following files: