BazisLib::DateTime Class Reference

#include <datetime.h>

Inherits BazisLib::Win32::_DateTime, and BazisLib::DDK::_DateTime.

Collaboration diagram for BazisLib::DateTime:

Collaboration graph
[legend]

List of all members.

Public Member Functions

const TIME_FIELDS & ToTimeFields () const
 DateTime (const LARGE_INTEGER &LARGE_INTEGER)
 DateTime ()
 DateTime (DateTime &date, unsigned Hour, unsigned Minute, unsigned Second, unsigned Milliseconds)
 ~DateTime ()
unsigned GetYear () const
unsigned GetMonth () const
unsigned GetDay () const
unsigned GetHour () const
unsigned GetMinute () const
unsigned GetSecond () const
unsigned GetDayOfWeek () const
TimeSpan operator- (const DateTime &tm) const
DateTime operator- (const TimeSpan &ts) const
DateTimeoperator-= (const TimeSpan &ts)
DateTime operator+ (const TimeSpan &ts) const
DateTimeoperator+= (const TimeSpan &ts)
bool operator< (const DateTime &tm) const
bool operator== (const DateTime &tm) const
bool operator> (const DateTime &tm) const
void SetYear (unsigned NewValue)
void SetMonth (unsigned NewValue)
void SetDay (unsigned NewValue)
void SetHour (unsigned NewValue)
void SetMinute (unsigned NewValue)
void SetSecond (unsigned NewValue)
const SYSTEMTIME & ToSystemTime () const
 DateTime (const FILETIME &FileTime)
 DateTime ()
 DateTime (DateTime &date, unsigned Hour, unsigned Minute, unsigned Second, unsigned Milliseconds)
 ~DateTime ()
unsigned GetYear () const
unsigned GetMonth () const
unsigned GetDay () const
unsigned GetHour () const
unsigned GetMinute () const
unsigned GetSecond () const
unsigned GetDayOfWeek () const
TimeSpan operator- (const DateTime &tm) const
DateTime operator- (const TimeSpan &ts) const
DateTimeoperator-= (const TimeSpan &ts)
DateTime operator+ (const TimeSpan &ts) const
DateTimeoperator+= (const TimeSpan &ts)
bool operator< (const DateTime &tm) const
bool operator== (const DateTime &tm) const
bool operator> (const DateTime &tm) const
void SetYear (unsigned NewValue)
void SetMonth (unsigned NewValue)
void SetDay (unsigned NewValue)
void SetHour (unsigned NewValue)
void SetMinute (unsigned NewValue)
void SetSecond (unsigned NewValue)

Static Public Member Functions

static DateTime Now ()
static DateTime Today ()
static DateTime Now ()
static DateTime Today ()

Private Member Functions

 DateTime (ULONGLONG Total100NanosecondIntervals)
 DateTime (ULONGLONG Total100NanosecondIntervals)


Constructor & Destructor Documentation

BazisLib::DateTime::DateTime ( ULONGLONG  Total100NanosecondIntervals  )  [inline, private]

BazisLib::DateTime::DateTime ( const LARGE_INTEGER &  LARGE_INTEGER  )  [inline]

BazisLib::DateTime::DateTime (  )  [inline]

BazisLib::DateTime::DateTime ( DateTime date,
unsigned  Hour,
unsigned  Minute,
unsigned  Second,
unsigned  Milliseconds 
) [inline]

BazisLib::DateTime::~DateTime (  )  [inline]

BazisLib::DateTime::DateTime ( ULONGLONG  Total100NanosecondIntervals  )  [inline, private]

BazisLib::DateTime::DateTime ( const FILETIME &  FileTime  )  [inline]

BazisLib::DateTime::DateTime (  )  [inline]

BazisLib::DateTime::DateTime ( DateTime date,
unsigned  Hour,
unsigned  Minute,
unsigned  Second,
unsigned  Milliseconds 
) [inline]

BazisLib::DateTime::~DateTime (  )  [inline]


Member Function Documentation

unsigned BazisLib::DateTime::GetDay (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetDay (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetDayOfWeek (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetDayOfWeek (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetHour (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetHour (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetMinute (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetMinute (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetMonth (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetMonth (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetSecond (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetSecond (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetYear (  )  const [inline]

Here is the call graph for this function:

unsigned BazisLib::DateTime::GetYear (  )  const [inline]

Here is the call graph for this function:

static DateTime BazisLib::DateTime::Now (  )  [inline, static]

Here is the call graph for this function:

static DateTime BazisLib::DateTime::Now (  )  [inline, static]

Here is the call graph for this function:

DateTime BazisLib::DateTime::operator+ ( const TimeSpan ts  )  const [inline]

Here is the call graph for this function:

DateTime BazisLib::DateTime::operator+ ( const TimeSpan ts  )  const [inline]

Here is the call graph for this function:

DateTime& BazisLib::DateTime::operator+= ( const TimeSpan ts  )  [inline]

DateTime& BazisLib::DateTime::operator+= ( const TimeSpan ts  )  [inline]

Here is the call graph for this function:

DateTime BazisLib::DateTime::operator- ( const TimeSpan ts  )  const [inline]

Here is the call graph for this function:

TimeSpan BazisLib::DateTime::operator- ( const DateTime tm  )  const [inline]

DateTime BazisLib::DateTime::operator- ( const TimeSpan ts  )  const [inline]

Here is the call graph for this function:

TimeSpan BazisLib::DateTime::operator- ( const DateTime tm  )  const [inline]

DateTime& BazisLib::DateTime::operator-= ( const TimeSpan ts  )  [inline]

DateTime& BazisLib::DateTime::operator-= ( const TimeSpan ts  )  [inline]

Here is the call graph for this function:

bool BazisLib::DateTime::operator< ( const DateTime tm  )  const [inline]

bool BazisLib::DateTime::operator< ( const DateTime tm  )  const [inline]

bool BazisLib::DateTime::operator== ( const DateTime tm  )  const [inline]

bool BazisLib::DateTime::operator== ( const DateTime tm  )  const [inline]

bool BazisLib::DateTime::operator> ( const DateTime tm  )  const [inline]

bool BazisLib::DateTime::operator> ( const DateTime tm  )  const [inline]

void BazisLib::DateTime::SetDay ( unsigned  NewValue  ) 

void BazisLib::DateTime::SetDay ( unsigned  NewValue  ) 

void BazisLib::DateTime::SetHour ( unsigned  NewValue  ) 

void BazisLib::DateTime::SetHour ( unsigned  NewValue  ) 

void BazisLib::DateTime::SetMinute ( unsigned  NewValue  ) 

void BazisLib::DateTime::SetMinute ( unsigned  NewValue  ) 

void BazisLib::DateTime::SetMonth ( unsigned  NewValue  ) 

void BazisLib::DateTime::SetMonth ( unsigned  NewValue  ) 

void BazisLib::DateTime::SetSecond ( unsigned  NewValue  ) 

void BazisLib::DateTime::SetSecond ( unsigned  NewValue  ) 

void BazisLib::DateTime::SetYear ( unsigned  NewValue  ) 

void BazisLib::DateTime::SetYear ( unsigned  NewValue  ) 

static DateTime BazisLib::DateTime::Today (  )  [inline, static]

Here is the call graph for this function:

static DateTime BazisLib::DateTime::Today (  )  [inline, static]

Here is the call graph for this function:

const SYSTEMTIME& BazisLib::DateTime::ToSystemTime (  )  const [inline]

const TIME_FIELDS& BazisLib::DateTime::ToTimeFields (  )  const [inline]


The documentation for this class was generated from the following files:
SourceForge.net Logo