Home
last modified time | relevance | path

Searched refs:dates (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestChronoLocalDate.java85 List<ChronoLocalDate> dates = new ArrayList<>(); in test_date_comparator_checkGenerics_ISO() local
89 dates.add(date.minus(10, ChronoUnit.YEARS)); in test_date_comparator_checkGenerics_ISO()
90 dates.add(date.minus(1, ChronoUnit.YEARS)); in test_date_comparator_checkGenerics_ISO()
91 dates.add(date.minus(1, ChronoUnit.MONTHS)); in test_date_comparator_checkGenerics_ISO()
92 dates.add(date.minus(1, ChronoUnit.WEEKS)); in test_date_comparator_checkGenerics_ISO()
93 dates.add(date.minus(1, ChronoUnit.DAYS)); in test_date_comparator_checkGenerics_ISO()
94 dates.add(date); in test_date_comparator_checkGenerics_ISO()
95 dates.add(date.plus(1, ChronoUnit.DAYS)); in test_date_comparator_checkGenerics_ISO()
96 dates.add(date.plus(1, ChronoUnit.WEEKS)); in test_date_comparator_checkGenerics_ISO()
97 dates.add(date.plus(1, ChronoUnit.MONTHS)); in test_date_comparator_checkGenerics_ISO()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKChronoLocalDateTime.java262 List<ChronoLocalDateTime<?>> dates = new ArrayList<>(); in test_datetime_comparisons() local
267 dates.add(date.minus(1, ChronoUnit.YEARS)); in test_datetime_comparisons()
268 dates.add(date.minus(1, ChronoUnit.MONTHS)); in test_datetime_comparisons()
269 dates.add(date.minus(1, ChronoUnit.WEEKS)); in test_datetime_comparisons()
270 dates.add(date.minus(1, ChronoUnit.DAYS)); in test_datetime_comparisons()
271 dates.add(date.minus(1, ChronoUnit.HOURS)); in test_datetime_comparisons()
272 dates.add(date.minus(1, ChronoUnit.MINUTES)); in test_datetime_comparisons()
273 dates.add(date.minus(1, ChronoUnit.SECONDS)); in test_datetime_comparisons()
274 dates.add(date.minus(1, ChronoUnit.NANOS)); in test_datetime_comparisons()
275 dates.add(date); in test_datetime_comparisons()
[all …]
DTCKChronoZonedDateTime.java263 List<ChronoZonedDateTime<?>> dates = new ArrayList<>(); in test_zonedDateTime_comparisons() local
270 dates.add(date.minus(1, ChronoUnit.YEARS)); in test_zonedDateTime_comparisons()
271 dates.add(date.minus(1, ChronoUnit.MONTHS)); in test_zonedDateTime_comparisons()
272 dates.add(date.minus(1, ChronoUnit.WEEKS)); in test_zonedDateTime_comparisons()
273 dates.add(date.minus(1, ChronoUnit.DAYS)); in test_zonedDateTime_comparisons()
274 dates.add(date.minus(1, ChronoUnit.HOURS)); in test_zonedDateTime_comparisons()
275 dates.add(date.minus(1, ChronoUnit.MINUTES)); in test_zonedDateTime_comparisons()
276 dates.add(date.minus(1, ChronoUnit.SECONDS)); in test_zonedDateTime_comparisons()
277 dates.add(date.minus(1, ChronoUnit.NANOS)); in test_zonedDateTime_comparisons()
278 dates.add(date); in test_zonedDateTime_comparisons()
[all …]
DTCKChronoLocalDate.java259 List<ChronoLocalDate> dates = new ArrayList<>(); in test_date_comparisons() local
264 dates.add(date.minus(1, ChronoUnit.YEARS)); in test_date_comparisons()
265 dates.add(date.minus(1, ChronoUnit.MONTHS)); in test_date_comparisons()
266 dates.add(date.minus(1, ChronoUnit.WEEKS)); in test_date_comparisons()
267 dates.add(date.minus(1, ChronoUnit.DAYS)); in test_date_comparisons()
268 dates.add(date); in test_date_comparisons()
269 dates.add(date.plus(1, ChronoUnit.DAYS)); in test_date_comparisons()
270 dates.add(date.plus(1, ChronoUnit.WEEKS)); in test_date_comparisons()
271 dates.add(date.plus(1, ChronoUnit.MONTHS)); in test_date_comparisons()
272 dates.add(date.plus(1, ChronoUnit.YEARS)); in test_date_comparisons()
[all …]
/libcore/luni/src/test/java/tests/java/sql/
DSqlDateTest.java25 String[] dates = { in testValueOf() local
29 for (String date : dates) { in testValueOf()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CRLTest.java143 Map<String, Date> dates = new HashMap<String, Date>(); in getCrlDates() local
156 dates.put(key, value); in getCrlDates()
159 return dates; in getCrlDates()
288 Map<String, Date> dates = getCrlDates(CRL_RSA_DATES); in getThisUpdateNextUpdate() local
290 Date lastUpdate = dates.get("lastUpdate"); in getThisUpdateNextUpdate()
291 Date nextUpdate = dates.get("nextUpdate"); in getThisUpdateNextUpdate()
302 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); in getThisUpdateNextUpdate() local
304 Date lastUpdate = dates.get("lastUpdate"); in getThisUpdateNextUpdate()
305 Date nextUpdate = dates.get("nextUpdate"); in getThisUpdateNextUpdate()
391 Map<String, Date> dates = getCrlDates(CRL_RSA_DSA_DATES); in assertRsaCrlEntry() local
[all …]
DX509CertificateTest.java414 Date[] dates = getRsaCertificateDates(); in checkValidity() local
422 assertTrue(now.after(dates[0])); in checkValidity()
423 assertTrue(now.before(dates[1])); in checkValidity()
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()
616 Date[] dates = getRsaCertificateDates(); in getNotBeforeAndNotAfterDates() local
[all …]
/libcore/luni/src/test/java/libcore/java/time/chrono/
DThaiBuddhistChronologyTest.java85 ThaiBuddhistDate dates[] = new ThaiBuddhistDate[] { in test_ThaiBuddhistDate_range() local
93 for (ThaiBuddhistDate date : dates) { in test_ThaiBuddhistDate_range()
DMinguoChronologyTest.java83 MinguoDate dates[] = new MinguoDate[] { in test_MinguoDate_range() local
91 for (MinguoDate date : dates) { in test_MinguoDate_range()
/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java1352 Date[] dates = { in testSetDate_int_Date() local
1362 for (int i = 0; i < dates.length; i++) { in testSetDate_int_Date()
1363 ps.setDate(1, dates[i]); in testSetDate_int_Date()
1369 ps.setDate(2, dates[0]); in testSetDate_int_Date()
1378 ps.setDate(1, dates[0]); in testSetDate_int_Date()
1388 ps1.setDate(1, dates[0]); in testSetDate_int_Date()
1411 Date[] dates = { new Date(cal.getTimeInMillis()), new Date(Integer.MAX_VALUE), in testSetDate_int_Date_Calendar() local
1420 for (int i = 0; i < dates.length; i++) { in testSetDate_int_Date_Calendar()
1421 ps.setDate(1, dates[i], cals[i]); in testSetDate_int_Date_Calendar()
1427 ps.setDate(2, dates[0], cals[0]); in testSetDate_int_Date_Calendar()
[all …]
/libcore/ojluni/src/main/resources/
Dhijrah-config-umalqura.properties43 # in the defined range of dates