V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::base::Time Class Referencefinal
Inheritance diagram for v8::base::Time:
v8::base::time_internal::TimeBase< TimeClass > v8::base::TimeConstants

Public Member Functions

struct timespec ToTimespec () const
 
struct timeval ToTimeval () const
 
struct _FILETIME ToFiletime () const
 
double ToJsTime () const
 
- Public Member Functions inherited from v8::base::time_internal::TimeBase< TimeClass >
constexpr bool IsNull () const
 
constexpr bool IsMax () const
 
constexpr bool IsMin () const
 
int64_t ToInternalValue () 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== (TimeClass other) const
 
bool operator!= (TimeClass other) const
 
bool operator< (TimeClass other) const
 
bool operator<= (TimeClass other) const
 
bool operator> (TimeClass other) const
 
bool operator>= (TimeClass other) const
 

Static Public Member Functions

static Time Now ()
 
static Time NowFromSystemTime ()
 
static Time UnixEpoch ()
 
static Time FromTimespec (struct timespec ts)
 
static Time FromTimeval (struct timeval tv)
 
static Time FromFiletime (struct _FILETIME ft)
 
static Time FromJsTime (double ms_since_epoch)
 
- Static Public Member Functions inherited from v8::base::time_internal::TimeBase< TimeClass >
static TimeClass Max ()
 
static TimeClass Min ()
 
static TimeClass FromInternalValue (int64_t us)
 

Friends

class time_internal::TimeBase< Time >
 

Additional Inherited Members

- Static Public Attributes inherited from v8::base::TimeConstants
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
 
- Protected Member Functions inherited from v8::base::time_internal::TimeBase< TimeClass >
constexpr TimeBase (int64_t us)
 
- Protected Attributes inherited from v8::base::time_internal::TimeBase< TimeClass >
int64_t us_
 

Detailed Description

Definition at line 342 of file time.h.


The documentation for this class was generated from the following files: