Home
last modified time | relevance | path

Searched refs:setTime (Results 1 – 25 of 36) sorted by relevance

12

/libcore/luni/src/main/java/javax/xml/datatype/
DXMLGregorianCalendar.java327 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
DDuration.java372 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/
DZipEntryTest.java336 zentry.setTime(orgTime + 10000); in test_setTimeJ()
339 zentry.setTime(orgTime - 10000); in test_setTimeJ()
345 zentry.setTime(0); in test_setTimeJ()
351 zentry.setTime(0); in test_setTimeJ()
356 zentry.setTime(-25); in test_setTimeJ()
359 zentry.setTime(4354837200000L); in test_setTimeJ()
DZipOutputStreamTest.java61 ze.setTime(System.currentTimeMillis()); in test_closeEntry()
97 ze.setTime(System.currentTimeMillis()); in test_putNextEntryLjava_util_zip_ZipEntry()
/libcore/ojluni/src/main/java/java/sql/
DTime.java80 public void setTime(long time) { in setTime() method in Time
81 super.setTime(time); in setTime()
DDate.java91 public void setTime(long date) { in setTime() method in Date
93 super.setTime(date); in setTime()
DTimestamp.java113 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()
DPreparedStatement.java280 void setTime(int parameterIndex, java.sql.Time x) in setTime() method
656 void setTime(int parameterIndex, java.sql.Time x, Calendar cal) in setTime() method
DCallableStatement.java1008 void setTime(String parameterName, java.sql.Time x) in setTime() method
1271 void setTime(String parameterName, java.sql.Time x, Calendar cal) in setTime() method
/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java57 originalDate.setTime(0); in test2DigitYearStartIsCloned()
64 newDate.setTime(0); in test2DigitYearStartIsCloned()
226 c.setTime(d); in parseDate()
310 calendar.setTime(format.parse("2011-06-21T10:00 Pacific Standard Time")); // 18:00 GMT-8 in testDstZoneNameWithNonDstTimestamp()
318 calendar.setTime(format.parse("2010-12-21T10:00 Pacific Daylight Time")); // 17:00 GMT-7 in testNonDstZoneNameWithDstTimestamp()
327 calendar.setTime(format.parse("2011-06-21T20:00 Lord Howe Daylight Time")); // 9:00 GMT+11 in testDstZoneWithNonDstTimestampForNonHourDstZone()
335 calendar.setTime(format.parse("2010-12-21T19:30 Lord Howe Standard Time")); //9:00 GMT+10:30 in testNonDstZoneWithDstTimestampForNonHourDstZone()
419 calendar.setTime(date); in testLenientParsingForZ()
/libcore/luni/src/test/java/libcore/java/util/
DOldGregorianCalendarTest.java34 gc1.setTime(now); in testGetHour()
36 gc2.setTime(now); in testGetHour()
DCalendarTest.java289 a.setTime(d); in assertCalendarConfigEquals()
290 b.setTime(d); in assertCalendarConfigEquals()
DGregorianCalendarTest.java108 gc.setTime(date); in test_fieldsAffectedByGregorianCutOver()
138 gc.setTime(date); in test_fieldsAffectedByGregorianCutOver()
/libcore/support/src/test/java/tests/support/
DSupport_TimeZone.java55 cal.setTime(p1); in inDaylightTime()
/libcore/ojluni/src/main/java/javax/sql/
DRowSet.java842 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/
DGregorianCalendarTest.java136 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()
DDateTest.java305 cal.setTime(d); in test_parseLjava_lang_String()
409 d1.setTime(900); in test_setTimeJ()
410 d2.setTime(890000); in test_setTimeJ()
/libcore/benchmarks/src/benchmarks/regression/
DDateToStringBenchmark.java35 calendar.setTime(date); in setUp()
/libcore/ojluni/src/main/java/java/util/logging/
DSimpleFormatter.java141 dat.setTime(record.getMillis()); in format()
/libcore/ojluni/src/main/java/java/util/zip/
DZipEntry.java140 public void setTime(long time) { in setTime() method in ZipEntry
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java413 cal.setTime(dates[0]); in checkValidity()
418 cal.setTime(dates[1]); in checkValidity()
423 cal.setTime(dates[0]); in checkValidity()
431 cal.setTime(dates[0]); in checkValidity()
439 cal.setTime(dates[1]); in checkValidity()
447 cal.setTime(dates[1]); in checkValidity()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSimpleDateFormatTest.java511 cal.setTime(date); in test_get2DigitYearStart()
834 cal.setTime(f1.parse("49")); in test_set2DigitYearStartLjava_util_Date()
836 cal.setTime(f1.parse("50")); in test_set2DigitYearStartLjava_util_Date()
840 cal.setTime(f1.parse("00")); in test_set2DigitYearStartLjava_util_Date()
843 cal.setTime(f1.parse("50")); in test_set2DigitYearStartLjava_util_Date()
/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java1931 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()
/libcore/luni/src/test/java/tests/java/sql/
DStressTest.java331 ps.setTime(11, new java.sql.Time(System.currentTimeMillis()));
/libcore/luni/src/test/java/tests/security/cert/
DX509CertSelectorTest.java323 selector.getCertificateValid().setTime(200); in test_getCertificateValid()
596 selector.getPrivateKeyValid().setTime(200); in test_getPrivateKeyValid()
918 date2.setTime(300); in test_setCertificateValidLjava_util_Date()
1255 date5.setTime(date4.getTime()); in test_setPrivateKeyValidLjava_util_Date()

12