/libcore/luni/src/test/java/libcore/javax/xml/datatype/ |
D | XMLGregorianCalendarTest.java | 47 calendar.setTime(1, 2, 3); in testSetTime_iii() 54 calendar.setTime(1, 2, 3, 4); in testSetTime_iiii() 62 calendar.setTime(1, 2, 3, BigDecimal.valueOf(0.1)); in testSetTime_iiiBigDecimal() 82 calendar.setTime(23, 59, 59, BigDecimal.valueOf(0.1)); in testEquals_equalObjectParam() 88 anotherCalendar.setTime(23, 59, 59, BigDecimal.valueOf(0.1)); in testEquals_equalObjectParam() 97 calendar.setTime(23, 59, 59, BigDecimal.valueOf(0.1)); in testEquals_differentCalendarParam() 103 anotherCalendar.setTime(23, 59, 59, BigDecimal.valueOf(0.1)); in testEquals_differentCalendarParam() 112 calendar.setTime(22, 15, 1, BigDecimal.valueOf(0.000000135)); in testToString()
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | XMLGregorianCalendar.java | 327 public void setTime(int hour, int minute, int second) { in setTime() method in XMLGregorianCalendar 329 setTime( in setTime() 416 public void setTime( in setTime() method in XMLGregorianCalendar 444 public void setTime(int hour, int minute, int second, int millisecond) { in setTime() method in XMLGregorianCalendar
|
D | Duration.java | 372 cal.setTime(startInstant); in getTimeInMillis() 559 cal.setTime(date); in addTo() 561 date.setTime(getCalendarTimeInMillis(cal)); in addTo()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipOutputStreamTest.java | 75 ze.setTime(System.currentTimeMillis()); in test_closeEntry() 111 ze.setTime(System.currentTimeMillis()); in test_putNextEntryLjava_util_zip_ZipEntry() 309 zipEntry.setTime(someTimestamp); in test_timeSerializationRounding() 367 zipEntry.setTime(0); in test_exttSupport() 381 zipEntry.setTime(timestampWithinDostimeBound); in test_exttSupport() 390 zipEntry.setTime(timestampBeyondDostimeBound + Duration.ofDays(3 * 365).toMillis()); in test_exttSupport()
|
D | ZipEntryTest.java | 365 zentry.setTime(orgTime + 10000); in test_setTimeJ() 368 zentry.setTime(orgTime - 10000); in test_setTimeJ() 377 zentry.setTime(0); in test_setTimeJ() 383 zentry.setTime(0); in test_setTimeJ() 388 zentry.setTime(-25); in test_setTimeJ() 391 zentry.setTime(4354837200000L); in test_setTimeJ()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Time.java | 80 public void setTime(long time) { in setTime() method in Time 81 super.setTime(time); in setTime()
|
D | Timestamp.java | 113 super.setTime(((time/1000)-1)*1000); in Timestamp() 126 public void setTime(long time) { in setTime() method in Timestamp 127 super.setTime((time/1000)*1000); in setTime() 131 super.setTime(((time/1000)-1)*1000); in setTime()
|
D | Date.java | 92 public void setTime(long date) { in setTime() method in Date 94 super.setTime(date); in setTime()
|
D | PreparedStatement.java | 280 void setTime(int parameterIndex, java.sql.Time x) in setTime() method 658 void setTime(int parameterIndex, java.sql.Time x, Calendar cal) in setTime() method
|
D | CallableStatement.java | 1010 void setTime(String parameterName, java.sql.Time x) in setTime() method 1273 void setTime(String parameterName, java.sql.Time x, Calendar cal) in setTime() method
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
D | ZipEntryTest.java | 157 ze.setTime(ENTRY_TIME); in testMaxLengthExtra() 194 ze.setTime(time); in checkSetTime() 265 ze.setTime(ENTRY_TIME); in testCommentAndExtraInSameOrder() 273 ze.setTime(ENTRY_TIME); in testCommentAndExtraInSameOrder()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldGregorianCalendarTest.java | 34 gc1.setTime(now); in testGetHour() 36 gc2.setTime(now); in testGetHour()
|
D | CalendarTest.java | 304 a.setTime(d); in assertCalendarConfigEquals() 305 b.setTime(d); in assertCalendarConfigEquals()
|
/libcore/ojluni/src/main/java/javax/sql/ |
D | RowSet.java | 842 void setTime(int parameterIndex, java.sql.Time x) throws SQLException; in setTime() method 1744 void setTime(int parameterIndex, java.sql.Time x, Calendar cal) in setTime() method 1761 void setTime(String parameterName, java.sql.Time x) in setTime() method 1785 void setTime(String parameterName, java.sql.Time x, Calendar cal) in setTime() method
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | GregorianCalendarTest.java | 136 gcJapan.setTime(date); in test_ConstructorLjava_util_Locale() 138 gcJapan2.setTime(date); in test_ConstructorLjava_util_Locale() 140 gcItaly.setTime(date); in test_ConstructorLjava_util_Locale() 153 gc1.setTime(date); in test_ConstructorLjava_util_TimeZone() 155 gc2.setTime(date); in test_ConstructorLjava_util_TimeZone() 188 gc1.setTime(date); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale() 190 gc2.setTime(date); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale() 192 gc3.setTime(date); in test_ConstructorLjava_util_TimeZoneLjava_util_Locale() 410 returnedChange.setTime(gc.getGregorianChange()); in test_getGregorianChange()
|
D | DateTest.java | 307 cal.setTime(d); in test_parseLjava_lang_String() 411 d1.setTime(900); in test_setTimeJ() 412 d2.setTime(890000); in test_setTimeJ()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_TimeZone.java | 55 cal.setTime(p1); in inDaylightTime()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | SimpleFormatter.java | 141 dat.setTime(record.getMillis()); in format()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | SimpleDateFormatTest.java | 88 originalDate.setTime(0); in test2DigitYearStartIsCloned() 95 newDate.setTime(0); in test2DigitYearStartIsCloned() 266 c.setTime(d); in parseDate() 363 calendar.setTime(format.parse("2011-06-21T10:00 Pacific Standard Time")); // 18:00 GMT-8 in testDstZoneNameWithNonDstTimestamp() 371 calendar.setTime(format.parse("2010-12-21T10:00 Pacific Daylight Time")); // 17:00 GMT-7 in testNonDstZoneNameWithDstTimestamp() 380 calendar.setTime(format.parse("2011-06-21T20:00 Lord Howe Daylight Time")); // 9:00 GMT+11 in testDstZoneWithNonDstTimestampForNonHourDstZone() 388 calendar.setTime(format.parse("2010-12-21T19:30 Lord Howe Standard Time")); //9:00 GMT+10:30 in testNonDstZoneWithDstTimestampForNonHourDstZone() 473 calendar.setTime(date); in testLenientParsingForZ()
|
/libcore/ojluni/annotations/mmodule/java/util/zip/ |
D | ZipEntry.annotated.java | 46 public void setTime(long time) { throw new RuntimeException("Stub!"); } in setTime() method in ZipEntry
|
/libcore/ojluni/annotations/hiddenapi/java/util/zip/ |
D | ZipEntry.java | 68 public void setTime(long time) { in setTime() method in ZipEntry
|
/libcore/ojluni/annotations/flagged_api/java/util/zip/ |
D | ZipEntry.annotated.java | 42 public void setTime(long time) { throw new RuntimeException("Stub!"); } in setTime() method in ZipEntry
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 429 cal.setTime(dates[0]); in checkValidity() 434 cal.setTime(dates[1]); in checkValidity() 439 cal.setTime(dates[0]); in checkValidity() 447 cal.setTime(dates[0]); in checkValidity() 455 cal.setTime(dates[1]); in checkValidity() 463 cal.setTime(dates[1]); in checkValidity()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | SimpleDateFormatTest.java | 511 cal.setTime(date); in test_get2DigitYearStart() 836 cal.setTime(f1.parse("49")); in test_set2DigitYearStartLjava_util_Date() 838 cal.setTime(f1.parse("50")); in test_set2DigitYearStartLjava_util_Date() 842 cal.setTime(f1.parse("00")); in test_set2DigitYearStartLjava_util_Date() 845 cal.setTime(f1.parse("50")); in test_set2DigitYearStartLjava_util_Date()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldPreparedStatementTest.java | 1931 ps.setTime(1, times[i]); in testSetTimeint_Time() 1947 ps.setTime(2, times[0]); in testSetTimeint_Time() 1956 ps.setTime(1, times[0]); in testSetTimeint_Time() 1963 ps1.setTime(1, times[0]); in testSetTimeint_Time() 1991 ps.setTime(1, times[i], cals[i]); in testSetTime_int_Time_Calendar() 2003 ps.setTime(2, times[0], cals[0]); in testSetTime_int_Time_Calendar() 2012 ps.setTime(-2, times[0], cals[1]); in testSetTime_int_Time_Calendar() 2019 ps1.setTime(1, times[0], cals[2]); in testSetTime_int_Time_Calendar()
|