Lines Matching full:date
61 var date = { valueOf: function() { x += 3; return 4; } }; variable
68 new Date(year, month, date, hours, minutes, seconds, ms);
70 assertEquals("1234567", x, "Date");
73 Date(year, month, date, hours, minutes, seconds, ms);
74 assertEquals("", x, "Date not constructor");
77 Date.UTC(year, month, date, hours, minutes, seconds, ms);
79 assertEquals("1234567", x, "Date.UTC");
82 new Date().setSeconds(seconds, ms);
83 assertEquals("67", x, "Date.UTC");
86 new Date().setSeconds(seconds, ms);
87 assertEquals("67", x, "Date.setSeconds");
90 new Date().setUTCSeconds(seconds, ms);
91 assertEquals("67", x, "Date.setUTCSeconds");
94 new Date().setMinutes(minutes, seconds, ms);
95 assertEquals("567", x, "Date.setMinutes");
98 new Date().setUTCMinutes(minutes, seconds, ms);
99 assertEquals("567", x, "Date.setUTCMinutes");
102 new Date().setHours(hours, minutes, seconds, ms);
103 assertEquals("4567", x, "Date.setHours");
106 new Date().setUTCHours(hours, minutes, seconds, ms);
107 assertEquals("4567", x, "Date.setUTCHours");
110 new Date().setDate(date, hours, minutes, seconds, ms);
111 assertEquals("3", x, "Date.setDate");
114 new Date().setUTCDate(date, hours, minutes, seconds, ms);
115 assertEquals("3", x, "Date.setUTCDate");
118 new Date().setMonth(month, date, hours, minutes, seconds, ms);
119 assertEquals("23", x, "Date.setMonth");
122 new Date().setUTCMonth(month, date, hours, minutes, seconds, ms);
123 assertEquals("23", x, "Date.setUTCMonth");
126 new Date().setFullYear(year, month, date, hours, minutes, seconds, ms);
127 assertEquals("123", x, "Date.setFullYear");
130 new Date().setUTCFullYear(year, month, date, hours, minutes, seconds, ms);
131 assertEquals("123", x, "Date.setUTCFullYear");