Kiwano Engine v1.3.x
|
时钟时间 更多...
#include <Time.h>
Public 成员函数 | |
bool | IsZero () const |
是否是零时 更多... | |
int64_t | GetTimeStamp () const |
获取当前时间戳 | |
int64_t | GetMillisecondsSinceEpoch () const |
获取自纪元以来的毫秒数 | |
std::time_t | GetCTime () const |
获取 C 风格的时间 | |
const Duration | operator- (const ClockTime &) const |
const ClockTime | operator+ (const Duration &) const |
const ClockTime | operator- (const Duration &) const |
ClockTime & | operator+= (const Duration &) |
ClockTime & | operator-= (const Duration &) |
静态 Public 成员函数 | |
static ClockTime | Now () noexcept |
获取当前时间 | |
static ClockTime | FromTimeStamp (int64_t timestamp) noexcept |
时间戳转化为时间 | |
时钟时间
|
inline |
是否是零时