Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: include/v8.h

Issue 5978001: Adding Date::ResetCache() API so that the cache values in the Date object... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/v8.h
===================================================================
--- include/v8.h (revision 6060)
+++ include/v8.h (working copy)
@@ -1355,6 +1355,14 @@
V8EXPORT double NumberValue() const;
static inline Date* Cast(v8::Value* obj);
+
+ /**
Søren Thygesen Gjesse 2010/12/17 10:54:55 Please start the comment with something like this
marklam 2010/12/17 11:12:29 Will do. I do have one concern with not knowing w
+ * Resets the Date cache for the current context so that date/time
+ * changes due to daylight savings, or timezone changes would be
+ * reflected in the Date object.
+ */
+ V8EXPORT static void ResetCache();
Søren Thygesen Gjesse 2010/12/17 10:54:55 I think the name ResetCache here is a bit to low-l
marklam 2010/12/17 11:12:29 The implementation is really a reset of all values
+
private:
V8EXPORT static void CheckCast(v8::Value* obj);
};
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698