Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/util/
DSimpleTimeZoneTest.java242 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()
DCalendarTest.java170 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()
DOldGregorianCalendarTest.java48 g1.getTimeInMillis(); in test_computeTime()
DGregorianCalendarTest.java332 return cal.getTimeInMillis(); in getDstLosAngeles2014()
395 assertEquals("Incorrect millis: " + description, expectedMillis, cal.getTimeInMillis()); in checkMillis()
/libcore/luni/src/test/java/libcore/javax/xml/datatype/
DDurationTest.java104 oneSecond.getTimeInMillis(calendar); in testGetTimeInMillis_calendar()
111 oneSecond.getTimeInMillis(date); in testGetTimeInMillis_date()
/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.java710 assertEquals(1143337800000L, g.getTimeInMillis()); in test_computeTime()
716 assertEquals(1143328800000L, g1.getTimeInMillis()); in test_computeTime()
722 assertEquals(1162079400000L, g1.getTimeInMillis()); in test_computeTime()
DCalendarTest.java477 assertEquals(6017546357372606464L, cal.getTimeInMillis()); in test_getTimeInMillis()
/libcore/ojluni/src/test/java/util/TimeZone/
DSimpleTimeZoneCloneRaceTest.java107 time = cal.getTimeInMillis();
/libcore/ojluni/src/main/java/java/util/
DCalendar.java1815 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()
DDate.java1265 fastTime = gc.getTimeInMillis(); in normalize()
DGregorianCalendar.java1929 CalendarSystem mincal = gc.getTimeInMillis() >= gregorianCutover ? in getActualMaximum()
3389 return ZonedDateTime.ofInstant(Instant.ofEpochMilli(getTimeInMillis()), in toZonedDateTime()
DJapaneseImperialCalendar.java1181 LocalGregorianCalendar.Date jd = jcal.getCalendarDate(jc.getTimeInMillis(),
1446 CalendarDate jd = jcal.getCalendarDate(jc.getTimeInMillis(), getZone());
DFormatter.java4198 long i = t.getTimeInMillis();
4216 long i = t.getTimeInMillis() / 1000;
/libcore/ojluni/src/test/java/util/GregorianCalendar/
DGregorianCalendarTest.java195 long time = gc.getTimeInMillis(); in checkTimes()
/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.java1353 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/
DCalendar.annotated.java72 public long getTimeInMillis() { throw new RuntimeException("Stub!"); } in getTimeInMillis() method in Calendar
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java101 public long getTimeInMillis() { in getTimeInMillis() method in Calendar
/libcore/luni/src/test/java/tests/java/sql/
DSelectFunctionalityTest.java101 long currentTime = Calendar.getInstance().getTimeInMillis(); in createTestTables()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java1125 uc2.setIfModifiedSince(Calendar.getInstance().getTimeInMillis());
/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java275 assertEquals(1293104697000L, parseDateUtc(Locale.UK, fmt, date).getTimeInMillis()); in testParsingUncommonTimeZoneAbbreviations()
/libcore/ojluni/src/main/java/java/text/
DSimpleDateFormat.java1501 .getDisplayName(canonicalID, nameType, calendar.getTimeInMillis()); in subFormat()

12