/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 | 209 return c.getTimeInMillis() / ONE_HOUR; in hoursSinceEpoch() 251 assertEquals(expectedMillis, cal.getTimeInMillis()); in checkClear() 254 assertEquals(32400000, cal.getTimeInMillis()); in checkClear()
|
D | OldGregorianCalendarTest.java | 48 g1.getTimeInMillis(); in test_computeTime()
|
D | GregorianCalendarTest.java | 291 return cal.getTimeInMillis(); in getDstLosAngeles2014() 354 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 | 708 assertEquals(1143337800000L, g.getTimeInMillis()); in test_computeTime() 714 assertEquals(1143328800000L, g1.getTimeInMillis()); in test_computeTime() 720 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 | 1074 return new Date(getTimeInMillis()); in getTime() 1099 public long getTimeInMillis() { in getTimeInMillis() method in Calendar 2606 return cal.getTimeInMillis(); in getMillisOf()
|
D | Date.java | 1256 fastTime = gc.getTimeInMillis(); in normalize()
|
D | Formatter.java | 3958 long i = t.getTimeInMillis(); 3975 long i = t.getTimeInMillis() / 1000;
|
D | GregorianCalendar.java | 1903 CalendarSystem mincal = gc.getTimeInMillis() >= gregorianCutover ? in getActualMaximum()
|
/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/test/java/libcore/java/text/ |
D | SimpleDateFormatTest.java | 235 assertEquals(1293104697000L, parseDate(Locale.UK, fmt, date).getTimeInMillis()); in testParsingUncommonTimeZoneAbbreviations()
|
/libcore/ojluni/src/main/java/java/net/ |
D | HttpCookie.java | 1190 return (cal.getTimeInMillis() - whenCreated) / 1000; in expiryDate2DeltaSeconds()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 775 final long longWallTimeSeconds = calendar.getTimeInMillis() / 1000; in mktime()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
D | URLConnectionTest.java | 1116 uc2.setIfModifiedSince(Calendar.getInstance().getTimeInMillis());
|