/libcore/luni/src/test/java/libcore/java/util/ |
D | SimpleTimeZoneTest.java | 242 while (!timeZone.inDaylightTime(new Date(cal.getTimeInMillis()))) { in findDstEntryAndExit() 254 long entryPoint = cal.getTimeInMillis(); in findDstEntryAndExit() 256 while (timeZone.inDaylightTime(new Date(cal.getTimeInMillis()))) { in findDstEntryAndExit() 267 long exitPoint = cal.getTimeInMillis(); in findDstEntryAndExit() 278 return format.format(new Date(cal.getTimeInMillis())); in formatCalendar() 294 long start = calendar.getTimeInMillis(); in checkDstTransitionTimes()
|
D | CalendarTest.java | 170 assertEquals(Instant.ofEpochMilli(calendar.getTimeInMillis()), instant); in testToInstant() 224 return c.getTimeInMillis() / ONE_HOUR; in hoursSinceEpoch() 266 assertEquals(expectedMillis, cal.getTimeInMillis()); in checkClear() 269 assertEquals(32400000, cal.getTimeInMillis()); in checkClear()
|
D | OldGregorianCalendarTest.java | 48 g1.getTimeInMillis(); in test_computeTime()
|
D | GregorianCalendarTest.java | 332 return cal.getTimeInMillis(); in getDstLosAngeles2014() 395 assertEquals("Incorrect millis: " + description, expectedMillis, cal.getTimeInMillis()); in checkMillis()
|
/libcore/luni/src/test/java/libcore/javax/xml/datatype/ |
D | DurationTest.java | 104 oneSecond.getTimeInMillis(calendar); in testGetTimeInMillis_calendar() 111 oneSecond.getTimeInMillis(date); in testGetTimeInMillis_date()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | Duration.java | 332 public long getTimeInMillis(final Calendar startInstant) { in getTimeInMillis() method in Duration 370 public long getTimeInMillis(final Date startInstant) { in getTimeInMillis() method in Duration
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TimeZoneTest.java | 80 .getTimeInMillis(); in test_getOffset_long() 85 .getTimeInMillis(); in test_getOffset_long()
|
D | SimpleTimeZoneTest.java | 806 assertTrue("Incorrect offset returned", st1.getOffset(cal.getTimeInMillis()) == in test_getOffsetJ() 812 .getOffset(cal.getTimeInMillis())); in test_getOffsetJ() 820 assertEquals(fourHours, st1.getOffset(cal.getTimeInMillis())); in test_getOffsetJ()
|
D | GregorianCalendarTest.java | 710 assertEquals(1143337800000L, g.getTimeInMillis()); in test_computeTime() 716 assertEquals(1143328800000L, g1.getTimeInMillis()); in test_computeTime() 722 assertEquals(1162079400000L, g1.getTimeInMillis()); in test_computeTime()
|
D | CalendarTest.java | 477 assertEquals(6017546357372606464L, cal.getTimeInMillis()); in test_getTimeInMillis()
|
/libcore/ojluni/src/test/java/util/TimeZone/ |
D | SimpleTimeZoneCloneRaceTest.java | 107 time = cal.getTimeInMillis();
|
/libcore/ojluni/src/main/java/java/util/ |
D | Calendar.java | 1815 return new Date(getTimeInMillis()); in getTime() 1842 public long getTimeInMillis() { in getTimeInMillis() method in Calendar 3500 return cal.getTimeInMillis(); in getMillisOf() 3706 return Instant.ofEpochMilli(getTimeInMillis()); in toInstant()
|
D | Date.java | 1265 fastTime = gc.getTimeInMillis(); in normalize()
|
D | GregorianCalendar.java | 1929 CalendarSystem mincal = gc.getTimeInMillis() >= gregorianCutover ? in getActualMaximum() 3389 return ZonedDateTime.ofInstant(Instant.ofEpochMilli(getTimeInMillis()), in toZonedDateTime()
|
D | JapaneseImperialCalendar.java | 1181 LocalGregorianCalendar.Date jd = jcal.getCalendarDate(jc.getTimeInMillis(), 1446 CalendarDate jd = jcal.getCalendarDate(jc.getTimeInMillis(), getZone());
|
D | Formatter.java | 4198 long i = t.getTimeInMillis(); 4216 long i = t.getTimeInMillis() / 1000;
|
/libcore/ojluni/src/test/java/util/GregorianCalendar/ |
D | GregorianCalendarTest.java | 195 long time = gc.getTimeInMillis(); in checkTimes()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldResultSetGetterTests.java | 412 Date input = new Date(testCal.getTimeInMillis()); in testGetDateInt() 432 Date input = new Date(testCal.getTimeInMillis()); in testGetDateIntCalendar() 454 Date input = new Date(testCal.getTimeInMillis()); in testGetDateString() 474 Date input = new Date(testCal.getTimeInMillis()); in testGetDateStringCalendar()
|
D | OldPreparedStatementTest.java | 1353 new Date(cal.getTimeInMillis()), new Date(Integer.MAX_VALUE), in testSetDate_int_Date() 1411 Date[] dates = { new Date(cal.getTimeInMillis()), new Date(Integer.MAX_VALUE), in testSetDate_int_Date_Calendar()
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Calendar.annotated.java | 72 public long getTimeInMillis() { throw new RuntimeException("Stub!"); } in getTimeInMillis() method in Calendar
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Calendar.java | 101 public long getTimeInMillis() { in getTimeInMillis() method in Calendar
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | SelectFunctionalityTest.java | 101 long currentTime = Calendar.getInstance().getTimeInMillis(); in createTestTables()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 1125 uc2.setIfModifiedSince(Calendar.getInstance().getTimeInMillis());
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | SimpleDateFormatTest.java | 275 assertEquals(1293104697000L, parseDateUtc(Locale.UK, fmt, date).getTimeInMillis()); in testParsingUncommonTimeZoneAbbreviations()
|
/libcore/ojluni/src/main/java/java/text/ |
D | SimpleDateFormat.java | 1501 .getDisplayName(canonicalID, nameType, calendar.getTimeInMillis()); in subFormat()
|