/external/chromium_org/chrome/common/extensions/docs/examples/api/idle/idle_simple/ |
background.js | 11 var time = new Date();
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/calculator/tests/ |
manual.js | 19 var start = Date.now(); 21 var end = Date.now();
|
/external/chromium_org/third_party/WebKit/PerformanceTests/inspector/ |
performance-test.js | 11 this._testStartTime = new Date(); 19 return {name: name, startTime: new Date()}; 24 var endTime = new Date(); 52 var time = new Date();
|
/external/chromium_org/v8/test/mjsunit/ |
double-equals.js | 162 // Having no hint means Date gets a string hint, and everything else gets 185 // Date objects convert to string, not number (and the string does not 187 testEqual(new Date(42), String(new Date(42))); 188 testNotEqual(new Date(42), Number(new Date(42))); 189 var dnow = new Date(); 211 testNotEqual(new Date(42), new Date(42));
|
json.js | 28 // Date toJSON 29 assertEquals("1970-01-01T00:00:00.000Z", new Date(0).toJSON()); 30 assertEquals("1979-01-11T08:00:00.000Z", new Date("1979-01-11 08:00 GMT").toJSON()); 31 assertEquals("2005-05-05T05:05:05.000Z", new Date("2005-05-05 05:05:05 GMT").toJSON()); 32 var n1 = new Date(10000); 35 var n2 = new Date(10001); 38 var n4 = new Date(10003); 49 //Test Date.prototype.toJSON as generic function. 50 var d1 = {toJSON: Date.prototype.toJSON, 54 var d2 = {toJSON: Date.prototype.toJSON [all...] |
lazy-load.js | 28 // Test unusual way of accessing Date. 29 var date0 = new this["Date"](1111);
|
/external/jmonkeyengine/engine/src/test/jme3test/network/ |
TestSerialization.java | 90 Date date; field in class:TestSerialization.TestSerializationMessage 119 date = new Date(System.currentTimeMillis()); 139 System.out.println(cm.date);
|
/external/v8/test/mjsunit/ |
double-equals.js | 162 // Having no hint means Date gets a string hint, and everything else gets 185 // Date objects convert to string, not number (and the string does not 187 testEqual(new Date(42), String(new Date(42))); 188 testNotEqual(new Date(42), Number(new Date(42))); 189 var dnow = new Date(); 211 testNotEqual(new Date(42), new Date(42));
|
json.js | 28 // Date toJSON 29 assertEquals("1970-01-01T00:00:00.000Z", new Date(0).toJSON()); 30 assertEquals("1979-01-11T08:00:00.000Z", new Date("1979-01-11 08:00 GMT").toJSON()); 31 assertEquals("2005-05-05T05:05:05.000Z", new Date("2005-05-05 05:05:05 GMT").toJSON()); 32 var n1 = new Date(10000); 35 var n2 = new Date(10001); 38 var n4 = new Date(10003); 49 //Test Date.prototype.toJSON as generic function. 50 var d1 = {toJSON: Date.prototype.toJSON, 54 var d2 = {toJSON: Date.prototype.toJSON [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
BlackWhiteFilter.java | 31 import java.util.Date; 90 mRandom = new Random(new Date().getTime());
|
LomoishFilter.java | 31 import java.util.Date; 125 mRandom = new Random(new Date().getTime());
|
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLX509CRLEntry.java | 25 import java.util.Date; 108 public Date getRevocationDate() {
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatTest.java | 29 import java.util.Date; 43 String pattern = "A {3, number, currency} B {2, time} C {0, number, percent} D {4} E {1,choice,0#off|1#on} F {0, date}"; 180 Date date = new Date(); local 182 + DateFormat.getTimeInstance().format(date); 184 new Integer(3), date }, buffer, new FieldPosition(MessageFormat 217 Date date = new Date(12345678) local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CRLEntryTest.java | 32 import java.util.Date; 73 public Date getRevocationDate() {
|
/libcore/support/src/test/java/tests/support/ |
Support_TestWebData.java | 25 import java.util.Date; 65 new Date().getTime() + 100000) 145 // Last modified date value (milliseconds) 154 // The expiration date
|
/packages/apps/Mms/tests/SmsAutoReply/src/com/android/smsautoreply/ |
AutoReplyActivity.java | 35 import java.util.Date; 82 new SimpleDateFormat("MM-dd HH:mm:ss.SSS").format(new Date());
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/action/ |
ShareMockupAction.java | 35 import java.util.Date; 56 File f = new File(activity.getExternalCacheDir(), FILE_NAME.format(new Date()));
|
/external/chromium_org/v8/src/ |
date.js | 32 var $Date = global.Date; 36 // This file contains date support implemented in JavaScript. 40 throw new $TypeError('this is not a Date object.'); 86 // Compute number of days given a year, month, date. 87 // Note that month and date can lie outside the normal range. 92 function MakeDay(year, month, date) { 93 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return NAN; 98 date = TO_INTEGER_MAP_MINUS_ZERO(date); [all...] |
/external/v8/src/ |
date.js | 35 // This file contains date support implemented in JavaScript. 40 var $Date = global.Date; 44 throw new $TypeError('this is not a Date object.'); 90 // Compute number of days given a year, month, date. 91 // Note that month and date can lie outside the normal range. 96 function MakeDay(year, month, date) { 97 if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) return $NaN; 102 date = TO_INTEGER_MAP_MINUS_ZERO(date); [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieManagerTest.java | 26 import java.util.Date; 161 Date date = new Date(); local 162 date.setTime(date.getTime() + 1000 * 600); 163 String value2 = cookie2 + "; expires=" + date.toGMTString(); 167 date = new Date(); 168 date.setTime(date.getTime() + expiration) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimeZoneTest.java | 22 import java.util.Date; 204 Date date = new Date(07, 2, 24); local 205 assertEquals(300, date.getTimezoneOffset()); 206 date = new Date(99, 8, 1); 207 assertEquals(240, date.getTimezoneOffset());
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ |
X509AttributeCertificateHolder.java | 7 import java.util.Date; 123 * Return the date before which this attribute certificate is not valid. 125 * @return the start date for the attribute certificate's validity period. 127 public Date getNotBefore() 133 * Return the date after which this attribute certificate is not valid. 135 * @return the final date for the attribute certificate's validity period. 137 public Date getNotAfter() 294 * Return whether or not this attribute certificate is valid on a particular date. 296 * @param date the date of interest [all...] |
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
CookieManagerTest.java | 22 import java.util.Date; 119 "var expirationDate = new Date();" + 195 Date date = new Date(); local 196 date.setTime(date.getTime() + 1000 * 600); 197 String value2 = cookie2 + "; expires=" + date.toGMTString(); 201 date = new Date(); [all...] |
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/ |
NaClAMBullet.js | 30 lastTimeMs: +new Date(), 58 var curTimeMs = +new Date();
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-396.js | 30 function DateYear(date) { 31 var string = date.getYear() + ''; 38 assertEquals('1995', DateYear(new Date('Dec 25, 1995'))); 39 assertEquals('2005', DateYear(new Date('Dec 25, 2005')));
|