/external/jmonkeyengine/engine/src/core/com/jme3/system/ |
Timer.java | 50 public abstract long getTime(); 59 return getTime() / (float) getResolution();
|
NanoTimer.java | 63 return getTime() * INVERSE_TIMER_RESOLUTION; 66 public long getTime() { 83 tpf = (getTime() - previousTime) * (1.0f / TIMER_RESOLUTION); 85 previousTime = getTime(); 90 previousTime = getTime();
|
/external/jmonkeyengine/engine/src/android/com/jme3/system/android/ |
AndroidTimer.java | 65 return getTime() * INVERSE_TIMER_RESOLUTION; 68 public long getTime() { 86 tpf = (getTime() - previousTime) * (1.0f / TIMER_RESOLUTION); 88 previousTime = getTime(); 94 previousTime = getTime();
|
/packages/apps/Email/src/com/android/email/ |
Clock.java | 29 public long getTime() {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/ |
date-004.js | 4 ECMA Section: 15.9.5.4-1 Date.prototype.getTime 15 var TITLE = "Date.prototype.getTime"; 29 result = MYDATE.getTime(); 37 "MYDATE = new MyDate(); MYDATE.getTime()" + 46 this.getTime = Date.prototype.getTime;
|
/libcore/luni/src/test/java/libcore/java/util/ |
DateTest.java | 40 assertEquals("Wed Jan 01 00:00:00 PST 21", c.getTime().toString()); 41 assertEquals("1 Jan 21 08:00:00 GMT", c.getTime().toGMTString()); 43 assertEquals("Sun Jan 01 00:00:00 PST 321", c.getTime().toString()); 44 assertEquals("1 Jan 321 08:00:00 GMT", c.getTime().toGMTString());
|
/packages/apps/Email/tests/src/com/android/email/ |
MockClock.java | 25 public long getTime() {
|
/external/jmonkeyengine/engine/src/lwjgl/com/jme3/system/lwjgl/ |
LwjglTimer.java | 74 startTime = Sys.getTime(); 75 oldTime = getTime(); 80 return getTime() * INV_LWJGL_TIMER_RES; 84 * @see com.jme.util.Timer#getTime() 86 public long getTime() { 87 return Sys.getTime() - startTime; 116 long curTime = getTime();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
CalendarTest.java | 45 assertTrue("Incorrect result 0: " + cal.getTime().getTime(), cal 46 .getTime().getTime() == 1009861200000L); 51 assertTrue("Incorrect result 0a: " + cal.getTime(), cal.getTime() 52 .getTime() == 1014958800000L); 57 assertTrue("Incorrect result 0b: " + cal.getTime(), cal.getTime() 58 .getTime() == 1011848400000L) [all...] |
DateTest.java | 50 long oldTime = gc.getTime().getTime(); 51 long now = new Date().getTime(); 70 assertTrue("Wrong time zone", date.equals(cal.getTime())); 207 .getTime(); 217 .getTime(); 227 .getTime(); 237 .getTime(); 247 .getTime(); 257 .getTime(); [all...] |
SimpleTimeZoneTest.java | 58 13).getTime())); 61 13).getTime()))); 79 13).getTime())); 82 13).getTime()))); 264 .getTime())); 267 .getTime())); 271 .inDaylightTime(gc.getTime()))); 272 Date date = new Date(gc.getTime().getTime() + 1000); 277 .inDaylightTime(gc.getTime()))); [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
CalendarTest.java | 45 assertTrue("Incorrect result 0: " + cal.getTime().getTime(), cal 46 .getTime().getTime() == 1009861200000L); 51 assertTrue("Incorrect result 0a: " + cal.getTime(), cal.getTime() 52 .getTime() == 1014958800000L); 57 assertTrue("Incorrect result 0b: " + cal.getTime(), cal.getTime() 58 .getTime() == 1011848400000L) [all...] |
DateTest.java | 35 long oldTime = gc.getTime().getTime(); 36 long now = new Date().getTime(); 55 assertTrue("Wrong time zone", date.equals(cal.getTime())); 211 .getTime(); 221 .getTime(); 231 .getTime(); 241 .getTime(); 251 .getTime(); 261 .getTime(); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.4-2-n.js | 24 ECMA Section: 15.9.5.4-1 Date.prototype.getTime 38 var TITLE = "Date.prototype.getTime"; 47 "MYDATE.getTime()", 49 MYDATE.getTime() ); 53 this.getTime = Date.prototype.getTime;
|
15.9.5.4-1.js | 24 ECMA Section: 15.9.5.4-1 Date.prototype.getTime 36 var TITLE = "Date.prototype.getTime"; 59 "(new Date("+t+").getTime()", 61 (new Date(t)).getTime() ); 64 "(new Date("+(t+1)+").getTime()", 66 (new Date(t+1)).getTime() ); 69 "(new Date("+(t-1)+").getTime()", 71 (new Date(t-1)).getTime() ); 74 "(new Date("+(t-TZ_ADJUST)+").getTime()", 76 (new Date(t-TZ_ADJUST)).getTime() ); [all...] |
/external/javassist/sample/evolve/ |
WebPage.java | 14 out.write(c.getTime().toString());
|
/external/javassist/sample/evolve/sample/evolve/ |
WebPage.java | 16 out.write(c.getTime().toString());
|
/external/jmonkeyengine/engine/src/core/com/jme3/input/event/ |
InputEvent.java | 53 public long getTime(){
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
DateHelper.java | 42 return (date.getTime() / 1000L) + 2082844800L;
|
/external/nist-sip/java/javax/sip/header/ |
TimeStampHeader.java | 13 long getTime();
|
/external/jmonkeyengine/engine/src/test/jme3test/network/ |
TestLatency.java | 50 private static long getTime(){ 85 long curTime = getTime(); 101 client.send(new TimestampMessage(getTime(), 0)); 108 TimestampMessage outMsg = new TimestampMessage(timeMsg.timeSent, getTime()); 115 client.send(new TimestampMessage(getTime(), 0));
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
Time.java | 88 display = displayFormat.format(cal.getTime()); 99 public Date getTime() { 107 cal.setTime(new Date(utcFormat.parse(utc).getTime() + 109 date = cal.getTime(); 125 time.getTime() - TimeZone.getDefault().getOffset(time.getTime())));
|
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/ |
timestamp.js | 1 description("Tests that Geoposition timestamps are well-formed (non-zero and in the same units as Date.getTime)."); 12 var now = new Date().getTime(); 20 then = d.getTime();
|
/libcore/luni/src/test/java/libcore/java/sql/ |
OldResultSetGetterTests.java | 922 // getTime should return Time value for a TIMESTAMP type but returns null 933 long millis = cal.getTime().getTime(); 947 long millis2 = cal2.getTime().getTime(); 952 Time resTime = res.getTime(i); 955 assertEquals(t1.getTime(), resTime.getTime()); 960 resTime = res.getTime(i); 963 assertEquals(t2.getTime(), resTime.getTime()) [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
SimpleDateFormatTest.java | 51 format.format(cal.getTime(), buffer, position); 282 // f2.get2DigitYearStart().getTime() + " " + 283 // clone.get2DigitYearStart().getTime(), !f2.equals(clone)); 511 6).getTime(); 513 .getTime(); 583 Date time = cal.getTime(); 590 time = cal.getTime(); 597 time = cal.getTime(); 601 time = cal.getTime(); 606 Calendar.JANUARY, 1, 3, 0).getTime(), 1, 5) [all...] |