/libcore/luni/src/main/java/java/util/ |
D | Calendar.java | 766 return getTimeInMillis() > ((Calendar) calendar).getTimeInMillis(); in after() 785 return getTimeInMillis() < ((Calendar) calendar).getTimeInMillis(); in before() 878 return getTimeInMillis() == cal.getTimeInMillis() in equals() 1033 return new Date(getTimeInMillis()); in getTime() 1044 public long getTimeInMillis() { in getTimeInMillis() method in Calendar 1262 long timeInMillis = getTimeInMillis(); in compareTo() 1263 long anotherTimeInMillis = anotherCalendar.getTimeInMillis(); in compareTo()
|
D | Date.java | 78 milliseconds = cal.getTimeInMillis(); in Date() 102 milliseconds = cal.getTimeInMillis(); in Date() 129 milliseconds = cal.getTimeInMillis(); in Date() 575 milliseconds = cal.getTimeInMillis(); in setDate() 590 milliseconds = cal.getTimeInMillis(); in setHours() 605 milliseconds = cal.getTimeInMillis(); in setMinutes() 620 milliseconds = cal.getTimeInMillis(); in setMonth() 635 milliseconds = cal.getTimeInMillis(); in setSeconds() 661 milliseconds = cal.getTimeInMillis(); in setYear() 760 return cal.getTimeInMillis(); in UTC()
|
D | Formatter.java | 1883 appendLocalized(result, calendar.getTimeInMillis(), 0); in appendT() 1953 appendLocalized(result, calendar.getTimeInMillis() / 1000, 0); in appendT()
|
D | GregorianCalendar.java | 408 getTimeInMillis(); // Update the time in add()
|
/libcore/luni/src/test/java/libcore/icu/ |
D | DateIntervalFormatTest.java | 42 long timeWithCurrentYear = c.getTimeInMillis(); in test_formatDateInterval() 45 long fixedTime = c.getTimeInMillis(); in test_formatDateInterval() 49 long onTheHour = c.getTimeInMillis(); in test_formatDateInterval() 175 long jan_19_2042 = c.getTimeInMillis(); in test8862241() 177 long oct_4_2046 = c.getTimeInMillis(); in test8862241() 277 long jan_1_1980 = c.getTimeInMillis(); in test_single_day_events_later_than_epoch() 295 long jan_1_1980 = c.getTimeInMillis(); in test_single_day_events_not_in_UTC() 300 long jul_1_1980 = c.getTimeInMillis(); in test_single_day_events_not_in_UTC() 337 long thisYear = c.getTimeInMillis(); in test10209343_when_this_year() 349 long oldYear = c2.getTimeInMillis(); in test10209343_when_this_year() [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarTest.java | 209 return c.getTimeInMillis() / ONE_HOUR; in hoursSinceEpoch() 237 assertEquals(28800000, cal.getTimeInMillis()); in test_clear_45877() 240 assertEquals(32400000, cal.getTimeInMillis()); in test_clear_45877()
|
D | OldGregorianCalendarTest.java | 48 g1.getTimeInMillis(); in test_computeTime()
|
/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 | 700 assertEquals(1143337800000L, g.getTimeInMillis()); in test_computeTime() 706 assertEquals(1143328800000L, g1.getTimeInMillis()); in test_computeTime() 712 assertEquals(1162079400000L, g1.getTimeInMillis()); in test_computeTime()
|
D | CalendarTest.java | 477 assertEquals(6017546357372606464L, cal.getTimeInMillis()); in test_getTimeInMillis()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | DateIntervalFormat.java | 232 long utcMs = c.getTimeInMillis() + c.get(Calendar.ZONE_OFFSET) + c.get(Calendar.DST_OFFSET); in julianDay()
|
/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 | 1355 new Date(cal.getTimeInMillis()), new Date(Integer.MAX_VALUE), in testSetDate_int_Date() 1413 Date[] dates = { new Date(cal.getTimeInMillis()), new Date(Integer.MAX_VALUE), in testSetDate_int_Date_Calendar()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | SimpleDateFormatTest.java | 209 assertEquals(1293104697000L, parseDate(Locale.UK, fmt, date).getTimeInMillis()); in testParsingUncommonTimeZoneAbbreviations()
|
/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 | 445 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());
|