|  | Gray C++ Libraries
    0.0.2
    A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux | 
#include <cTimeFile.h>
 
 | Public Member Functions | |
| cTimeFile (FILETIME_t t=0) noexcept | |
| cTimeFile (const FILETIME &t) noexcept | |
| cTimeFile (const cTimeUnits &tu) | |
| FILETIME_t & | ref_Val () noexcept | 
| FILETIME_t | get_Val () const noexcept | 
| FILETIME_t | get_FAT32 () const noexcept | 
| TIMESECD_t | get_AgeSec () const | 
| bool | isValid () const noexcept | 
| void | InitTime (FILETIME_t t=0) noexcept | 
| void | InitTimeNow () | 
| void | InitTimeUnits (const cTimeUnits &rTu) | 
| bool | GetTimeUnits (OUT cTimeUnits &rTu, TZ_TYPE nTimeZoneOffset) const | 
| cString | GetTimeFormStr (const GChar_t *pszFormat, TZ_TYPE nTimeZoneOffset=TZ_LOCAL) const | 
| Static Public Member Functions | |
| static cTimeFile __stdcall | GetTimeNow () | 
| static cTimeFile __stdcall | GetCurrentTime () | 
| Static Public Attributes | |
| static const int | k_nDaysDiffTimeInt = ((369 * 365) + 89) | 
| days difference from FILETIME (1601) to cTimeInt (1970) bases = 134774  More... | |
| static const int | k_nFreq = 10 * 1000000 | 
| 100-nanosecond intervals per second = 10th of a micro second.  More... | |
| Friends | |
| class | cTimeFileTests | 
Universal time stamp for a file. 64-bit integer 100-nanosecond intervals since January 1, 1601 GMT. Overflows in ~58494 years.
| 
 | inlinenoexcept | 
| 
 | inlinenoexcept | 
| 
 | inline | 
| TIMESECD_t Gray::cTimeFile::get_AgeSec | ( | ) | const | 
| 
 | inlinenoexcept | 
get the time truncated to 2 second intervals for FAT32. 2 second accurate for FAT32
| 
 | inlinenoexcept | 
| 
 | inlinestatic | 
Alternate name for MFC.
| cString Gray::cTimeFile::GetTimeFormStr | ( | const GChar_t * | pszFormat, | 
| TZ_TYPE | nTimeZoneOffset = TZ_LOCAL | ||
| ) | const | 
Get the time as a string formatted using "C" strftime() MFC just calls this "Format"
Get the current time with highest possible accuracy. FILETIME_t = 64-bit 100-nanosecond since January 1, 1601 GMT
| bool Gray::cTimeFile::GetTimeUnits | ( | OUT cTimeUnits & | rTu, | 
| TZ_TYPE | nTimeZoneOffset | ||
| ) | const | 
| 
 | inlinenoexcept | 
| void Gray::cTimeFile::InitTimeNow | ( | ) | 
Get current UTC time
| void Gray::cTimeFile::InitTimeUnits | ( | const cTimeUnits & | rTu | ) | 
| 
 | inlinenoexcept | 
| 
 | inlinenoexcept | 
| 
 | friend | 
| 
 | static | 
days difference from FILETIME (1601) to cTimeInt (1970) bases = 134774
| 
 | static | 
100-nanosecond intervals per second = 10th of a micro second.