Lines Matching refs:MockDate
162 MockDate.setCurrent("Tue Mar 03 2009");
173 MockDate.setCurrent("Tue Mar 03 2009 GMT");
185 MockDate.setCurrent("Mar 03 2009");
190 MockDate.setCurrent("Mar 03 2009 GMT");
195 MockDate.setCurrent("Mar 03 2009");
200 MockDate.setCurrent("Mar 03 2009");
202 MockDate.setCurrent("Mar 03 2014");
209 MockDate.setCurrent("Mar 03 2009");
213 MockDate.setCurrent("Mar 03 2014");
217 MockDate.setCurrent("Mar 03 2009");
223 MockDate.setCurrent("Mar 03 2009");
229 MockDate.setCurrent("Mar 03 2009");
231 MockDate.setCurrent("Apr 03 2009");
236 MockDate.setCurrent("Mar 03 2009");
245 MockDate.setCurrent("Mar 03, 2009 03:34:01");
250 MockDate.setCurrent("Mar 03, 2009 03:34:01");
258 MockDate.setCurrent("Mar 03, 2009 03:34:01");
266 MockDate.setCurrent("Mar 03, 2009 03:34:14");
318 function MockDate() { class
319 this.wrappedDate_ = new MockDate.super_(MockDate.currentDateString_);
325 MockDate.init = function() {
326 MockDate.super_ = Date;
335 for (i in MockDate.methodNames_) {
336 var methodName = MockDate.methodNames_[i];
339 MockDate.prototype[methodName] = createProxyMethod(methodName);
343 Date = MockDate;
347 MockDate.methodNames_ = [
360 MockDate.setCurrent = function(currentDateString) {
361 MockDate.currentDateString_ = currentDateString;
365 MockDate.init();