Home
last modified time | relevance | path

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

/external/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp39 UDate date2 = cal->getTime(status); in dtitvfmtPreDefined() local
45 new DateInterval(date1,date2), in dtitvfmtPreDefined()
46 new DateInterval(date2,date3), in dtitvfmtPreDefined()
/external/icu/icu4c/source/test/cintltst/
Dcdtdptst.c203 UDate date1, date2; in TestRunTogetherPattern985() local
216 date2 = udat_parse(format, now, u_strlen(now), &pos, &status); in TestRunTogetherPattern985()
217 if (date2 == 0) log_verbose("Parse stopped at : %d\n", pos); in TestRunTogetherPattern985()
218 else then=myDateFormat(format, date2); in TestRunTogetherPattern985()
220 if (!(date2 == date1)) log_err("FAIL\n"); in TestRunTogetherPattern985()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTimestampTest.java643 Date date2 = new Date(time);
644 Timestamp timestamp2 = new Timestamp(date2.getTime());
645 assertEquals(0, timestamp2.compareTo(date2));
/external/icu/icu4c/source/test/intltest/
Dcalregts.cpp1824 UDate date2 = calendar->getTime(status); in Test4165343() local
1827 logln(UnicodeString("after adding one year : ") + date2); in Test4165343()
1828 if (date1 == date2) { in Test4165343()
2296 UDate date2 = cal.getTime(ec); in TestJ438() local
2303 int32_t dy = cal.fieldDifference(date2, UCAL_YEAR, ec); in TestJ438()
2304 int32_t dm = cal.fieldDifference(date2, UCAL_MONTH, ec); in TestJ438()
2305 int32_t dd = cal.fieldDifference(date2, UCAL_DATE, ec); in TestJ438()
2315 int32_t dy2 = cal2->fieldDifference(date2, Calendar::YEAR, ec2); in TestJ438()
2316 int32_t dm2 = cal2->fieldDifference(date2, Calendar::MONTH, ec2); in TestJ438()
2317 int32_t dd2 = cal2->fieldDifference(date2, Calendar::DATE, ec2); in TestJ438()
[all …]
Ddtifmtts.cpp334 … UDate date2 = 1299115800000.0; // 2011-Mar-02 1730 in US/Pacific, 2011-Mar-03 1030 in Asia/Tokyo in testAPI() local
336 DateInterval * dtitv12 = new DateInterval(date1, date2); in testAPI()
Ddtfmttst.cpp213 SimpleDateFormat date2(pattern, locale, errorCode); in TestPatterns() local
214 date2.adoptCalendar(Calendar::createInstance(locale, errorCode)); in TestPatterns()
225 date2.toLocalizedPattern(actualLocalPattern2, errorCode); in TestPatterns()
755 UDate date2 = formatter->parse(now, pos); in TestRunTogetherPattern985() local
756 if (date2 == 0) then = UnicodeString("Parse stopped at ") + pos.getIndex(); in TestRunTogetherPattern985()
757 else ((DateFormat*)formatter)->format(date2, then); in TestRunTogetherPattern985()
759 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); in TestRunTogetherPattern985()
Dcaltest.cpp3326 UDate date2 = is_cal->getTime(status); in TestIslamicUmAlQura() local
3328 if(date2 != date) { in TestIslamicUmAlQura()
3329 errln("before(%f) and after(%f) dates don't match up!",date, date2); in TestIslamicUmAlQura()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java1276 … long date2 = 1299115800000L; // 2011-Mar-02 1730 in US/Pacific, 2011-Mar-03 1030 in Asia/Tokyo in TestGetSetTimeZone() local
1277 DateInterval dtitv = new DateInterval(date1, date2); in TestGetSetTimeZone()
1403 long date2 = 1299115800000L; in TestDateIntervalFormatCoverage() local
1404 DateInterval dtitv = new DateInterval(date1, date2); in TestDateIntervalFormatCoverage()
DDateFormatTest.java165 DateFormat date2 = DateFormat.getPatternInstance(Calendar.getInstance(locale), in TestPatterns() local
170 String actualLocalPattern2 = ((SimpleDateFormat)date2).toLocalizedPattern(); in TestPatterns()
1613 Date date2 = formatter.parse(now, pos); in TestRunTogetherPattern985() local
1614 if (date2 == null) in TestRunTogetherPattern985()
1617 then = ((DateFormat) formatter).format(date2); in TestRunTogetherPattern985()
1619 if (date2 == null || !date2.equals(date1)) in TestRunTogetherPattern985()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java1256 Date date2 = calendar.getTime(); in Test4165343() local
1257 logln("after adding one year : " + date2); in Test4165343()
1258 if (date1.equals(date2)) { in Test4165343()
1780 Date date2 = cal.getTime();
1783 int dy = cal.fieldDifference(date2, Calendar.YEAR);
1784 int dm = cal.fieldDifference(date2, Calendar.MONTH);
1785 int dd = cal.fieldDifference(date2, Calendar.DATE);
1787 logln("" + date2 + " - " + date1 + " = " +
1795 if (!date2.equals(date22)) {
1798 date22 + ", exp " + date2);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarRegressionTest.java1257 Date date2 = calendar.getTime(); in Test4165343() local
1258 logln("after adding one year : " + date2); in Test4165343()
1259 if (date1.equals(date2)) { in Test4165343()
1781 Date date2 = cal.getTime();
1784 int dy = cal.fieldDifference(date2, Calendar.YEAR);
1785 int dm = cal.fieldDifference(date2, Calendar.MONTH);
1786 int dd = cal.fieldDifference(date2, Calendar.DATE);
1788 logln("" + date2 + " - " + date1 + " = " +
1796 if (!date2.equals(date22)) {
1799 date22 + ", exp " + date2);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java1275 … long date2 = 1299115800000L; // 2011-Mar-02 1730 in US/Pacific, 2011-Mar-03 1030 in Asia/Tokyo in TestGetSetTimeZone() local
1276 DateInterval dtitv = new DateInterval(date1, date2); in TestGetSetTimeZone()
1402 long date2 = 1299115800000L; in TestDateIntervalFormatCoverage() local
1403 DateInterval dtitv = new DateInterval(date1, date2); in TestDateIntervalFormatCoverage()
DDateFormatTest.java164 DateFormat date2 = DateFormat.getPatternInstance(Calendar.getInstance(locale), in TestPatterns() local
169 String actualLocalPattern2 = ((SimpleDateFormat)date2).toLocalizedPattern(); in TestPatterns()
1612 Date date2 = formatter.parse(now, pos); in TestRunTogetherPattern985() local
1613 if (date2 == null) in TestRunTogetherPattern985()
1616 then = ((DateFormat) formatter).format(date2); in TestRunTogetherPattern985()
1618 if (date2 == null || !date2.equals(date1)) in TestRunTogetherPattern985()
/external/owasp/sanitizer/tools/findbugs/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/libphonenumber/demo/war/WEB-INF/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/junit-params/lib/
Dassertj-core-1.7.1.jarMETA-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/ ...
/external/guice/extensions/struts2/lib/
Dxwork-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF xwork-validator-definition-1.0. ...
/external/robolectric/v3/runtime/
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...