/external/python/pybind11/tests/ |
D | test_chrono.py | 14 date2 = datetime.datetime.today() 20 diff_python = abs(date2 - date0) 21 diff = abs(date1 - date2) 35 date2 = m.test_chrono2(date1) 38 assert isinstance(date2, datetime.datetime) 41 diff = abs(date1 - date2) 52 date2 = datetime2.date() 57 assert isinstance(date2, datetime.date) 61 diff = abs(date1 - date2) 67 assert date1.year == date2.year [all …]
|
/external/icu/icu4c/source/samples/dtitvfmtsample/ |
D | dtitvfmtsample.cpp | 40 UDate date2 = cal->getTime(status); in dtitvfmtPreDefined() local 46 new DateInterval(date1,date2), in dtitvfmtPreDefined() 47 new DateInterval(date2,date3), in dtitvfmtPreDefined()
|
/external/icu/icu4c/source/test/cintltst/ |
D | cdtdptst.c | 203 UDate date1, date2; in TestRunTogetherPattern985() local 217 date2 = udat_parse(format, now, u_strlen(now), &pos, &status); in TestRunTogetherPattern985() 218 if (date2 == 0) log_verbose("Parse stopped at : %d\n", pos); in TestRunTogetherPattern985() 219 else then=myDateFormat(format, date2); in TestRunTogetherPattern985() 221 if (!(date2 == date1)) log_err("FAIL\n"); in TestRunTogetherPattern985()
|
/external/mtools/ |
D | directory.c | 103 time_t date2 = date; in mk_entry() local 107 now = localtime(&date2); in mk_entry()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/ |
D | AtomicTypeSerializationTest.java | 37 public AtomicReference<Date> date2; field in AtomicTypeSerializationTest.ContextualOptionals 121 input.date2 = new AtomicReference<>(new Date(0L)); in testContextualAtomicReference()
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | VerifyZones.java | 414 long date2 = getStandardDate(tz); in addZones() local 416 … String formattedZone = tzformatter.getFormattedZone(tzid, pattern.toString(), date2); in addZones() 427 date2 = date2 == date ? date6 : date; // reverse for final 2 items in addZones()
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | TimestampTest.java | 643 Date date2 = new Date(time); 644 Timestamp timestamp2 = new Timestamp(date2.getTime()); 645 assertEquals(0, timestamp2.compareTo(date2));
|
/external/icu/icu4c/source/test/intltest/ |
D | calregts.cpp | 1867 UDate date2 = calendar->getTime(status); in Test4165343() local 1870 logln(UnicodeString("after adding one year : ") + date2); in Test4165343() 1871 if (date1 == date2) { in Test4165343() 2336 UDate date2 = cal.getTime(ec); in TestJ438() local 2343 int32_t dy = cal.fieldDifference(date2, UCAL_YEAR, ec); in TestJ438() 2344 int32_t dm = cal.fieldDifference(date2, UCAL_MONTH, ec); in TestJ438() 2345 int32_t dd = cal.fieldDifference(date2, UCAL_DATE, ec); in TestJ438() 2355 int32_t dy2 = cal2->fieldDifference(date2, Calendar::YEAR, ec2); in TestJ438() 2356 int32_t dm2 = cal2->fieldDifference(date2, Calendar::MONTH, ec2); in TestJ438() 2357 int32_t dd2 = cal2->fieldDifference(date2, Calendar::DATE, ec2); in TestJ438() [all …]
|
D | dtifmtts.cpp | 341 … UDate date2 = 1299115800000.0; // 2011-Mar-02 1730 in US/Pacific, 2011-Mar-03 1030 in Asia/Tokyo in testAPI() local 343 DateInterval * dtitv12 = new DateInterval(date1, date2); in testAPI()
|
D | dtfmttst.cpp | 222 SimpleDateFormat date2(pattern, locale, errorCode); in TestPatterns() local 223 date2.adoptCalendar(Calendar::createInstance(locale, errorCode)); in TestPatterns() 234 date2.toLocalizedPattern(actualLocalPattern2, errorCode); in TestPatterns() 758 UDate date2 = formatter->parse(now, pos); in TestRunTogetherPattern985() local 759 if (date2 == 0) then = UnicodeString("Parse stopped at ") + pos.getIndex(); in TestRunTogetherPattern985() 760 else ((DateFormat*)formatter)->format(date2, then); in TestRunTogetherPattern985() 762 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); in TestRunTogetherPattern985()
|
D | caltest.cpp | 3393 UDate date2 = is_cal->getTime(status); in TestIslamicUmAlQura() local 3395 if(date2 != date) { in TestIslamicUmAlQura() 3396 errln("before(%f) and after(%f) dates don't match up!",date, date2); in TestIslamicUmAlQura()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CalendarRegressionTest.java | 1263 Date date2 = calendar.getTime(); in Test4165343() local 1264 logln("after adding one year : " + date2); in Test4165343() 1265 if (date1.equals(date2)) { in Test4165343() 1787 Date date2 = cal.getTime(); 1790 int dy = cal.fieldDifference(date2, Calendar.YEAR); 1791 int dm = cal.fieldDifference(date2, Calendar.MONTH); 1792 int dd = cal.fieldDifference(date2, Calendar.DATE); 1794 logln("" + date2 + " - " + date1 + " = " + 1802 if (!date2.equals(date22)) { 1805 date22 + ", exp " + date2);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CalendarRegressionTest.java | 1266 Date date2 = calendar.getTime(); in Test4165343() local 1267 logln("after adding one year : " + date2); in Test4165343() 1268 if (date1.equals(date2)) { in Test4165343() 1790 Date date2 = cal.getTime(); 1793 int dy = cal.fieldDifference(date2, Calendar.YEAR); 1794 int dm = cal.fieldDifference(date2, Calendar.MONTH); 1795 int dd = cal.fieldDifference(date2, Calendar.DATE); 1797 logln("" + date2 + " - " + date1 + " = " + 1805 if (!date2.equals(date22)) { 1808 date22 + ", exp " + date2);
|
/external/javaparser/javaparser-core-testing-bdd/src/test/resources/com/github/javaparser/ |
D | parsing_scenarios.story | 289 (Comparator<ChronoLocalDate>) (date1, date2) -> { 290 return Long.compare(date1.toEpochDay(), date2.toEpochDay()); 302 (Comparator<ChronoLocalDate> & Serializable) (date1, date2) -> { 303 return Long.compare(date1.toEpochDay(), date2.toEpochDay());
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 1474 … long date2 = 1299115800000L; // 2011-Mar-02 1730 in US/Pacific, 2011-Mar-03 1030 in Asia/Tokyo in TestGetSetTimeZone() local 1475 DateInterval dtitv = new DateInterval(date1, date2); in TestGetSetTimeZone() 1601 long date2 = 1299115800000L; in TestDateIntervalFormatCoverage() local 1602 DateInterval dtitv = new DateInterval(date1, date2); in TestDateIntervalFormatCoverage()
|
D | DateFormatTest.java | 169 DateFormat date2 = DateFormat.getPatternInstance(Calendar.getInstance(locale), in TestPatterns() local 174 String actualLocalPattern2 = ((SimpleDateFormat)date2).toLocalizedPattern(); in TestPatterns() 1704 Date date2 = formatter.parse(now, pos); in TestRunTogetherPattern985() local 1705 if (date2 == null) in TestRunTogetherPattern985() 1708 then = ((DateFormat) formatter).format(date2); in TestRunTogetherPattern985() 1710 if (date2 == null || !date2.equals(date1)) in TestRunTogetherPattern985()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateIntervalFormatTest.java | 1477 … long date2 = 1299115800000L; // 2011-Mar-02 1730 in US/Pacific, 2011-Mar-03 1030 in Asia/Tokyo in TestGetSetTimeZone() local 1478 DateInterval dtitv = new DateInterval(date1, date2); in TestGetSetTimeZone() 1604 long date2 = 1299115800000L; in TestDateIntervalFormatCoverage() local 1605 DateInterval dtitv = new DateInterval(date1, date2); in TestDateIntervalFormatCoverage()
|
D | DateFormatTest.java | 172 DateFormat date2 = DateFormat.getPatternInstance(Calendar.getInstance(locale), in TestPatterns() local 177 String actualLocalPattern2 = ((SimpleDateFormat)date2).toLocalizedPattern(); in TestPatterns() 1707 Date date2 = formatter.parse(now, pos); in TestRunTogetherPattern985() local 1708 if (date2 == null) in TestRunTogetherPattern985() 1711 then = ((DateFormat) formatter).format(date2); in TestRunTogetherPattern985() 1713 if (date2 == null || !date2.equals(date1)) in TestRunTogetherPattern985()
|
/external/python/cpython3/Doc/library/ |
D | datetime.rst | 581 | ``date2 = date1 + timedelta`` | *date2* is ``timedelta.days`` days removed | 584 | ``date2 = date1 - timedelta`` | Computes *date2* such that ``date2 + | 587 | ``timedelta = date1 - date2`` | \(3) | 589 | ``date1 < date2`` | *date1* is considered less than *date2* when | 590 | | *date1* precedes *date2* in time. (4) | 596 *date2* is moved forward in time if ``timedelta.days > 0``, or backward if 597 ``timedelta.days < 0``. Afterward ``date2 - date1 == timedelta.days``. 599 :exc:`OverflowError` is raised if ``date2.year`` would be smaller than 607 timedelta.microseconds are 0, and date2 + timedelta == date1 after. 610 In other words, ``date1 < date2`` if and only if ``date1.toordinal() < [all …]
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/ |
D | DateDeserializationTest.java | 366 Date date2 = r.with(TimeZone.getTimeZone("GMT+5")) in testDateUtilISO8601NoTimezoneNonDefault() local 368 assertEquals(date1, date2); in testDateUtilISO8601NoTimezoneNonDefault()
|
/external/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-objc/ |
D | main.m | 652 NSDate *date2 = 672 CFAbsoluteTime date2_abs = CFDateGetAbsoluteTime(date2);
|
/external/libphonenumber/demo/war/WEB-INF/lib/ |
D | commons-lang-2.6.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/apache/
org/ ... |
/external/junit-params/lib/ |
D | assertj-core-1.7.1.jar | META-INF/MANIFEST.MF
META-INF/maven/
META-INF/maven/ ... |
/external/guice/extensions/struts2/lib/ |
D | xwork-core-2.2.1.jar | META-INF/
META-INF/MANIFEST.MF
xwork-validator-definition-1.0. ... |