Searched defs:Date (Results 1 - 14 of 14) sorted by relevance

/external/webkit/SunSpider/tests/sunspider-0.9/
H A Ddate-format-xparb.js14 Date.parseFunctions = {count:0};
15 Date.parseRegexes = [];
16 Date.formatFunctions = {count:0}; class
18 Date.prototype.dateFormat = function(format) {
19 if (Date.formatFunctions[format] == null) {
20 Date.createNewFormat(format);
22 var func = Date.formatFunctions[format];
26 Date.createNewFormat = function(format) {
27 var funcName = "format" + Date.formatFunctions.count++;
28 Date
[all...]
H A Ddate-format-tofte.js8 Date.prototype.formatDate = function (input,time) {
201 var ny = new Date("January 1 " + Y() + " 00:00:00");
212 var prevNY = new Date("December 31 " + (Y()-1) + " 00:00:00");
238 var newDate = new Date("January 1 2001 00:00:00 +0000");
260 var t = new Date("January 1 " + Y() + " 00:00:00");
292 var date = new Date("1/1/2007 1:11:11");
6 Date.prototype.formatDate = function (input,time) { class
H A Dstring-tagcloud.js77 Date.prototype.toJSONString = function () {
74 Date.prototype.toJSONString = function () { class
/external/webkit/SunSpider/tests/sunspider-0.9.1/
H A Ddate-format-xparb.js14 Date.parseFunctions = {count:0};
15 Date.parseRegexes = [];
16 Date.formatFunctions = {count:0}; class
18 Date.prototype.dateFormat = function(format) {
19 if (Date.formatFunctions[format] == null) {
20 Date.createNewFormat(format);
22 var func = Date.formatFunctions[format];
26 Date.createNewFormat = function(format) {
27 var funcName = "format" + Date.formatFunctions.count++;
28 Date
[all...]
H A Ddate-format-tofte.js8 Date.prototype.formatDate = function (input,time) {
201 var ny = new Date("January 1 " + Y() + " 00:00:00");
212 var prevNY = new Date("December 31 " + (Y()-1) + " 00:00:00");
238 var newDate = new Date("January 1 2001 00:00:00 +0000");
260 var t = new Date("January 1 " + Y() + " 00:00:00");
292 var date = new Date("1/1/2007 1:11:11");
6 Date.prototype.formatDate = function (input,time) { class
H A Dstring-tagcloud.js77 Date.prototype.toJSONString = function () {
74 Date.prototype.toJSONString = function () { class
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Date/
H A D15.9.5.js24 ECMA Section: 15.9.5 Properties of the Date prototype object
27 The Date prototype object is itself a Date object (its [[Class]] is
28 "Date") whose value is NaN.
30 The value of the internal [[Prototype]] property of the Date prototype
33 In following descriptions of functions that are properties of the Date
34 prototype object, the phrase "this Date object" refers to the object that
37 [[Class]] property is "Date". Also, the phrase "this time value" refers
38 to the number value for the time represented by this Date object, that is,
39 the value of the internal [[Value]] property of this Date objec
52 Date.prototype.getClass = Object.prototype.toString; class
[all...]
/external/webkit/LayoutTests/fast/js/resources/
H A Djson2-es5-compat.js40 Date.prototype.toJSON = function (key) {
88 text = JSON.stringify([new Date()], function (key, value) {
89 return this[key] instanceof Date ?
90 'Date(' + this[key] + ')' : value;
92 // text is '["Date(---current time---)"]'
108 // be converted to Date objects.
116 return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
123 myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) {
126 value.slice(0, 5) === 'Date('
171 Date.prototype.toJSON = function (key) { class
[all...]
/external/webkit/SunSpider/hosted/
H A Djson2.js48 Date.prototype.toJSON = function (key) {
96 text = JSON.stringify([new Date()], function (key, value) {
97 return this[key] instanceof Date ?
98 'Date(' + this[key] + ')' : value;
100 // text is '["Date(---current time---)"]'
116 // be converted to Date objects.
124 return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4],
131 myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) {
134 value.slice(0, 5) === 'Date('
173 Date.prototype.toJSON = function (key) { class
[all...]
/external/webkit/WebKit/chromium/public/
H A DWebInputElement.h77 Date, enumerator in enum:WebKit::WebInputElement::InputType
/external/webkit/WebCore/html/
H A DDateComponents.h43 // * Date type: year-month-day
113 // For Date type. Updates m_year, m_month and m_monthDay.
177 Date, enumerator in enum:WebCore::DateComponents::Type
/external/webkit/WebCore/bridge/qt/
H A Dqt_runtime.cpp95 Date, enumerator in enum:JSC::Bindings::__anon5640
108 const char *map[] = { "Variant", "Number", "Boolean", "String", "Date",
136 return Date;
185 case Date:
458 if (type == Date) {
/external/v8/include/
H A Dv8.h120 class Date;
758 * Returns true if this value is a Date.
1137 * An instance of the built-in Date constructor (ECMA-262, 15.9).
1139 class V8EXPORT Date : public Value { class in namespace:v8
1149 static inline Date* Cast(v8::Value* obj);
3221 Date* Date::Cast(v8::Value* value) {
3225 return static_cast<Date*>(value);
/external/webkit/SunSpider/tests/parse-only/
H A Dmootools-1.2.2-core-nc.js91 var natives = {'Array': Array, 'Date': Date, 'Function': Function, 'Number': Number, 'RegExp': RegExp, 'String': String}; property
241 var $time = Date.now || function(){
242 return +new Date;
2993 var date = new Date();
3802 var noCache = "noCache=" + new Date().getTime();

Completed in 488 milliseconds