![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cTimeInt.h>
Public Member Functions | |
CTime (TIMESEC_t nTime=((TIMESEC_t) 0)) noexcept | |
CTime (const cTimeFile &fileTime, int nDST=-1) | |
const CTime & | operator= (const CTime &timeSrc) noexcept |
const CTime & | operator= (TIMESEC_t nTime) noexcept |
bool | operator<= (TIMESEC_t nTime) const noexcept |
bool | operator== (TIMESEC_t nTime) const noexcept |
bool | operator!= (TIMESEC_t nTime) const noexcept |
bool | operator>= (CTime ttime) const noexcept |
operator TIMESEC_t () const noexcept | |
TIMESEC_t | GetTime () const noexcept |
TIMESEC_t | GetTotalSeconds () const noexcept |
Protected Attributes | |
TIMESEC_t | m_time |
Seconds. Essentially the UNIX long time format. (not usable after 2018 unless 64 bit?) More... | |
TIMESEC_t or time_t stored as a UINT32 32 bits or 64 bits ? seconds since January 1, 1970 GMT Emulate the MFC CTime functionality
Gray::CTime::CTime | ( | const cTimeFile & | fileTime, |
int | nDST = -1 |
||
) |
cTimeFile = 64-bit 100-nanoseconds since January 1, 1601 GMT convert to TIMESEC_t (1970) (C-runtime local time) nDST = 0=Standard time is in effect. >0 =Daylight savings time is in effect. <0=default. Automatically computes whether standard time or daylight savings time is in effect.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
protected |
Seconds. Essentially the UNIX long time format. (not usable after 2018 unless 64 bit?)