/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/UnifiedEmail/src/com/android/mail/utils/ |
Clock.java | 29 public long getTime() {
|
/external/chromium_org/v8/test/webkit/ |
date-constructor.js | 38 shouldBe('new Date(1111).getTime()', '1111'); 39 shouldBe('new Date(object).getTime()', '1111'); 40 shouldBe('new Date(new Date(1111)).getTime()', '1111'); 41 shouldBe('new Date(new Date(1111).toString()).getTime()', '1000'); 43 shouldBe('new Date(1111, 1).getTime() - timeZoneOffset', '-27104803200000'); 44 shouldBe('new Date(1111, 1, 1).getTime() - timeZoneOffset', '-27104803200000'); 45 shouldBe('new Date(1111, 1, 1, 1).getTime() - timeZoneOffset', '-27104799600000'); 46 shouldBe('new Date(1111, 1, 1, 1, 1).getTime() - timeZoneOffset', '-27104799540000'); 47 shouldBe('new Date(1111, 1, 1, 1, 1, 1).getTime() - timeZoneOffset', '-27104799539000'); 48 shouldBe('new Date(1111, 1, 1, 1, 1, 1, 1).getTime() - timeZoneOffset', '-27104799538999') [all...] |
/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());
|
/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...] |
SimpleTimeZoneTest.java | 58 13).getTime())); 61 13).getTime()))); 115 13).getTime())); 118 13).getTime()))); 408 .getTime())); 411 .inDaylightTime(gc.getTime()))); 415 .inDaylightTime(gc.getTime()))); 416 Date date = new Date(gc.getTime().getTime() + 1000); 421 .inDaylightTime(gc.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();
|
/packages/apps/Email/tests/src/com/android/email/ |
MockClock.java | 27 public 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())));
|
/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...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPDateHeader.java | 83 date = new SIPDate(dat.getTime().getTime());
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipEntryTest.java | 173 * @tests java.util.zip.ZipEntry#getTime() 176 // Test for method long java.util.zip.ZipEntry.getTime() 177 assertEquals("Failed to get time", orgTime, zentry.getTime()); 360 assertEquals("Test 1: Failed to set time: " + zentry.getTime(), (orgTime + 10000), 361 zentry.getTime()); 363 assertEquals("Test 2: Failed to set time: " + zentry.getTime(), (orgTime - 10000), 364 zentry.getTime()); 369 assertEquals("Test 3: Failed to set time: " + zentry.getTime(), 370 315550800000L, zentry.getTime()); 372 assertEquals("Test 3a: Failed to set time: " + zentry.getTime(), [all...] |