Index: include/v8.h |
=================================================================== |
--- include/v8.h (revision 6063) |
+++ include/v8.h (working copy) |
@@ -1355,6 +1355,21 @@ |
V8EXPORT double NumberValue() const; |
static inline Date* Cast(v8::Value* obj); |
+ |
+ /** |
+ * 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 static void DateTimeConfigurationChangeNotification(); |
+ |
private: |
V8EXPORT static void CheckCast(v8::Value* obj); |
}; |