58 return std::chrono::system_clock::to_time_t(
stamp );
72 return DateTime( std::chrono::system_clock::from_time_t( epochSeconds ) );
static ALIB_DLL DateTime FromFileTime(const FILETIME &fileTime)
ALIB_DLL ULARGE_INTEGER ToFileTimeLI() const
bool operator!=(const DateTime &other) const
ALIB_DLL FILETIME ToFileTime() const
time_t InEpochSeconds() const
bool operator<(const DateTime &other) const
static ALIB_DLL DateTime FromSystemTime(const SYSTEMTIME &systemTime, lang::Timezone timezone=lang::Timezone::Local)
bool operator<=(const DateTime &other) const
bool operator>=(const DateTime &other) const
static ALIB_DLL DateTime FromFileTime(const ULARGE_INTEGER &fileTime)
ALIB_DLL SYSTEMTIME ToSystemTime(lang::Timezone timezone=lang::Timezone::Local) const
bool operator==(const DateTime &other) const
bool operator>(const DateTime &other) const
static DateTime FromEpochSeconds(time_t epochSeconds)
constexpr TimePointBase(const lang::Initialization init=lang::Initialization::Default)
Timezone
Denotes whether a time value represents local time or UTC.
@ Local
Denotes local time.
time::DateTime DateTime
Type alias in namespace alib.