![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <time.h>
Public Member Functions | |
constexpr bool | IsNull () const |
constexpr bool | IsMax () const |
constexpr bool | IsMin () const |
int64_t | ToInternalValue () const |
constexpr TimeDelta | since_origin () const |
TimeClass & | operator= (TimeClass other) |
TimeDelta | operator- (TimeClass other) const |
TimeClass | operator+ (TimeDelta delta) const |
TimeClass | operator- (TimeDelta delta) const |
TimeClass & | operator+= (TimeDelta delta) |
TimeClass & | operator-= (TimeDelta delta) |
bool | operator== (const TimeBase< TimeClass > &other) const |
bool | operator!= (const TimeBase< TimeClass > &other) const |
bool | operator< (const TimeBase< TimeClass > &other) const |
bool | operator<= (const TimeBase< TimeClass > &other) const |
bool | operator> (const TimeBase< TimeClass > &other) const |
bool | operator>= (const TimeBase< TimeClass > &other) const |
Static Public Member Functions | |
static TimeClass | Max () |
static TimeClass | Min () |
static TimeClass | FromInternalValue (int64_t us) |
Protected Member Functions | |
constexpr | TimeBase (int64_t us) |
Protected Attributes | |
int64_t | us_ |
Additional Inherited Members | |
![]() | |
static constexpr int64_t | kHoursPerDay = 24 |
static constexpr int64_t | kMillisecondsPerSecond = 1000 |
static constexpr int64_t | kMillisecondsPerDay |
static constexpr int64_t | kMicrosecondsPerMillisecond = 1000 |
static constexpr int64_t | kMicrosecondsPerSecond |
static constexpr int64_t | kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60 |
static constexpr int64_t | kMicrosecondsPerHour = kMicrosecondsPerMinute * 60 |
static constexpr int64_t | kMicrosecondsPerDay |
static constexpr int64_t | kMicrosecondsPerWeek = kMicrosecondsPerDay * 7 |
static constexpr int64_t | kNanosecondsPerMicrosecond = 1000 |
static constexpr int64_t | kNanosecondsPerSecond |
|
inlineexplicitconstexprprotected |
|
inlinestatic |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineconstexpr |
|
inline |
|
protected |