Public Member Functions | Static Public Member Functions

v8::Date Class Reference

#include <v8.h>

Inheritance diagram for v8::Date:
v8::Object v8::Value v8::Data

List of all members.

Public Member Functions

V8EXPORT double NumberValue () const

Static Public Member Functions

static V8EXPORT Local< ValueNew (double time)
static DateCast (v8::Value *obj)
static V8EXPORT void DateTimeConfigurationChangeNotification ()

Detailed Description

An instance of the built-in Date constructor (ECMA-262, 15.9).


Member Function Documentation

static V8EXPORT void v8::Date::DateTimeConfigurationChangeNotification (  )  [static]

Notification that the embedder has changed the time zone, daylight savings time, or other date / time configuration parameters. V8 keeps a cache of various values used for date / time computation. This notification will reset those cached values for the current context so that date / time configuration changes would be reflected in the Date object.

This API should not be called more than needed as it will negatively impact the performance of date operations.

V8EXPORT double v8::Date::NumberValue (  )  const

A specialization of Value::NumberValue that is more efficient because we know the structure of this object.

Reimplemented from v8::Value.


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