/libcore/luni/src/test/java/libcore/icu/ |
D | RelativeDateTimeFormatterTest.java | 46 final long baseTime = cal.getTimeInMillis(); in test_getRelativeTimeSpanStringCTS() 102 final long base = cal.getTimeInMillis(); in test_getRelativeTimeSpanString_helper() 359 final long now = cal.getTimeInMillis(); in test_getRelativeTimeSpanStringGerman() 387 final long now = cal.getTimeInMillis(); in test_getRelativeTimeSpanStringFrench() 427 final long base = cal.getTimeInMillis(); in test_getRelativeDateTimeString() 473 long base = cal.getTimeInMillis(); in test_getRelativeDateTimeStringDST() 480 base = cal.getTimeInMillis(); in test_getRelativeDateTimeStringDST() 488 base = cal.getTimeInMillis(); in test_getRelativeDateTimeStringDST() 494 base = cal.getTimeInMillis(); in test_getRelativeDateTimeStringDST() 516 final long base = cal.getTimeInMillis(); in test_getRelativeDateTimeStringItalian() [all …]
|
D | DateIntervalFormatTest.java | 44 long timeWithCurrentYear = c.getTimeInMillis(); in test_formatDateInterval() 47 long fixedTime = c.getTimeInMillis(); in test_formatDateInterval() 51 long onTheHour = c.getTimeInMillis(); in test_formatDateInterval() 177 long jan_19_2042 = c.getTimeInMillis(); in test8862241() 179 long oct_4_2046 = c.getTimeInMillis(); in test8862241() 279 long jan_1_1980 = c.getTimeInMillis(); in test_single_day_events_later_than_epoch() 297 long jan_1_1980 = c.getTimeInMillis(); in test_single_day_events_not_in_UTC() 302 long jul_1_1980 = c.getTimeInMillis(); in test_single_day_events_not_in_UTC() 339 long thisYear = c.getTimeInMillis(); in test10209343_when_this_year() 351 long oldYear = c2.getTimeInMillis(); in test10209343_when_this_year() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | SimpleTimeZoneTest.java | 213 while (!timeZone.inDaylightTime(new Date(cal.getTimeInMillis()))) { in findDstEntryAndExit() 225 long entryPoint = cal.getTimeInMillis(); in findDstEntryAndExit() 227 while (timeZone.inDaylightTime(new Date(cal.getTimeInMillis()))) { in findDstEntryAndExit() 238 long exitPoint = cal.getTimeInMillis(); in findDstEntryAndExit() 249 return format.format(new Date(cal.getTimeInMillis())); in formatCalendar() 265 long start = calendar.getTimeInMillis(); in checkDstTransitionTimes()
|
D | CalendarTest.java | 172 assertEquals(Instant.ofEpochMilli(calendar.getTimeInMillis()), instant); in testToInstant() 226 return c.getTimeInMillis() / ONE_HOUR; in hoursSinceEpoch() 268 assertEquals(expectedMillis, cal.getTimeInMillis()); in checkClear() 271 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/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/main/java/java/util/ |
D | Calendar.java | 1734 return new Date(getTimeInMillis()); in getTime() 1759 public long getTimeInMillis() { in getTimeInMillis() method in Calendar 3414 return cal.getTimeInMillis(); in getMillisOf() 3588 return Instant.ofEpochMilli(getTimeInMillis()); in toInstant()
|
D | Date.java | 1263 fastTime = gc.getTimeInMillis(); in normalize()
|
D | GregorianCalendar.java | 1965 CalendarSystem mincal = gc.getTimeInMillis() >= gregorianCutover ? in getActualMaximum() 3427 return ZonedDateTime.ofInstant(Instant.ofEpochMilli(getTimeInMillis()), in toZonedDateTime()
|
D | JapaneseImperialCalendar.java | 1156 LocalGregorianCalendar.Date jd = jcal.getCalendarDate(jc.getTimeInMillis(), in getActualMinimum() 1456 CalendarDate jd = jcal.getCalendarDate(jc.getTimeInMillis(), getZone()); in getActualMaximum()
|
D | Formatter.java | 3989 long i = t.getTimeInMillis(); 4006 long i = t.getTimeInMillis() / 1000;
|
/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/luni/src/test/java/tests/java/sql/ |
D | SelectFunctionalityTest.java | 101 long currentTime = Calendar.getInstance().getTimeInMillis(); in createTestTables()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 795 final long longWallTimeSeconds = calendar.getTimeInMillis() / 1000; in mktime()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | SimpleDateFormatTest.java | 248 assertEquals(1293104697000L, parseDateUtc(Locale.UK, fmt, date).getTimeInMillis()); in testParsingUncommonTimeZoneAbbreviations()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 1127 uc2.setIfModifiedSince(Calendar.getInstance().getTimeInMillis());
|
/libcore/ojluni/src/main/java/java/text/ |
D | SimpleDateFormat.java | 1297 .getDisplayName(canonicalID, nameType, calendar.getTimeInMillis()); in subFormat()
|