Home
last modified time | relevance | path

Searched refs:getTimeInMillis (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/main/java/java/util/
DCalendar.java766 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()
DDate.java78 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()
DFormatter.java1883 appendLocalized(result, calendar.getTimeInMillis(), 0); in appendT()
1953 appendLocalized(result, calendar.getTimeInMillis() / 1000, 0); in appendT()
DGregorianCalendar.java408 getTimeInMillis(); // Update the time in add()
/libcore/luni/src/test/java/libcore/icu/
DDateIntervalFormatTest.java42 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/
DCalendarTest.java209 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()
DOldGregorianCalendarTest.java48 g1.getTimeInMillis(); in test_computeTime()
/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java332 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/
DTimeZoneTest.java80 .getTimeInMillis(); in test_getOffset_long()
85 .getTimeInMillis(); in test_getOffset_long()
DSimpleTimeZoneTest.java806 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()
DGregorianCalendarTest.java700 assertEquals(1143337800000L, g.getTimeInMillis()); in test_computeTime()
706 assertEquals(1143328800000L, g1.getTimeInMillis()); in test_computeTime()
712 assertEquals(1162079400000L, g1.getTimeInMillis()); in test_computeTime()
DCalendarTest.java477 assertEquals(6017546357372606464L, cal.getTimeInMillis()); in test_getTimeInMillis()
/libcore/luni/src/main/java/libcore/icu/
DDateIntervalFormat.java232 long utcMs = c.getTimeInMillis() + c.get(Calendar.ZONE_OFFSET) + c.get(Calendar.DST_OFFSET); in julianDay()
/libcore/luni/src/test/java/libcore/java/sql/
DOldResultSetGetterTests.java412 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()
DOldPreparedStatementTest.java1355 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/
DSimpleDateFormatTest.java209 assertEquals(1293104697000L, parseDate(Locale.UK, fmt, date).getTimeInMillis()); in testParsingUncommonTimeZoneAbbreviations()
/libcore/luni/src/test/java/tests/java/sql/
DSelectFunctionalityTest.java101 long currentTime = Calendar.getInstance().getTimeInMillis(); in createTestTables()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java445 final long longWallTimeSeconds = calendar.getTimeInMillis() / 1000; in mktime()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java1116 uc2.setIfModifiedSince(Calendar.getInstance().getTimeInMillis());