Home
last modified time | relevance | path

Searched refs:date1 (Results 1 – 23 of 23) sorted by relevance

/third_party/icu/icu4c/source/test/cintltst/
Dcdtdptst.c203 UDate date1, date2; in TestRunTogetherPattern985() local
213 date1 = ucal_getNow(); in TestRunTogetherPattern985()
214 now=myDateFormat(format, date1); in TestRunTogetherPattern985()
221 if (!(date2 == date1)) log_err("FAIL\n"); in TestRunTogetherPattern985()
Dccaltst.c1241 UDate date1; in TestDOWProgression() local
1272 date1=ucal_getMillis(cal, &status); in TestDOWProgression()
1274 log_verbose("%s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1))); in TestDOWProgression()
1282 date1=ucal_getMillis(cal, &status); in TestDOWProgression()
1286 u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in TestDOWProgression()
1316 UDate date1; in testZones() local
1347 date1 = ucal_getMillis(gmtcal, &status); in testZones()
1352 log_verbose("date = %s\n", u_austrcpy(tempMsgBuf, myDateFormat(datfor, date1)) ); in testZones()
1355 ucal_setMillis(cal, date1, &status); in testZones()
/third_party/skia/third_party/externals/icu/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp38 UDate date1 = cal->getTime(status); in dtitvfmtPreDefined() local
46 new DateInterval(date1,date2), in dtitvfmtPreDefined()
/third_party/icu/icu4c/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp38 UDate date1 = cal->getTime(status); in dtitvfmtPreDefined() local
46 new DateInterval(date1,date2), in dtitvfmtPreDefined()
/third_party/flutter/skia/third_party/externals/icu/source/samples/dtitvfmtsample/
Ddtitvfmtsample.cpp38 UDate date1 = cal->getTime(status); in dtitvfmtPreDefined() local
46 new DateInterval(date1,date2), in dtitvfmtPreDefined()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DCalendarRegressionTest.java1262 Date date1 = calendar.getTime(); in Test4165343() local
1263 logln("after adding 12 months: " + date1); in Test4165343()
1268 if (date1.equals(date2)) { in Test4165343()
1788 Date date1 = cal.getTime();
1792 cal.setTime(date1);
1797 logln("" + date2 + " - " + date1 + " = " +
1800 cal.setTime(date1);
1806 errln("FAIL: " + date1 + " + " +
1810 logln("Ok: " + date1 + " + " +
/third_party/icu/icu4c/source/test/intltest/
Dcalregts.cpp1857 UDate date1 = calendar->getTime(status); in Test4165343() local
1860 logln(UnicodeString("after adding 12 months: ") + date1); in Test4165343()
1871 if (date1 == date2) { in Test4165343()
2332 UDate date1 = cal.getTime(ec); in TestJ438() local
2340 cal.setTime(date1, ec); in TestJ438()
2353 cal2->setTime(date1, ec2); in TestJ438()
2370 fmt.format(date1, t.remove()) + " = " + in TestJ438()
2373 cal.setTime(date1, ec); in TestJ438()
2386 fmt.format(date1, s.remove()) + " + " + in TestJ438()
2392 fmt.format(date1, s.remove()) + " + " + in TestJ438()
Ddtfmttst.cpp221 SimpleDateFormat date1(pattern, locale, errorCode); in TestPatterns() local
233 date1.toLocalizedPattern(actualLocalPattern1, errorCode); in TestPatterns()
754 UDate date1 = Calendar::getNow(); in TestRunTogetherPattern985() local
755 ((DateFormat*)formatter)->format(date1, now); in TestRunTogetherPattern985()
762 if (!(date2 == date1)) errln((UnicodeString)"FAIL"); in TestRunTogetherPattern985()
3940 UDate date1 = formatter.parse(itemPtr->dateString, status); in TestNumberAsStringParsing() local
3951 formatter.format(date1, formatted); in TestNumberAsStringParsing()
Ddtifmtts.cpp342 … UDate date1 = 1299090600000.0; // 2011-Mar-02 1030 in US/Pacific, 2011-Mar-03 0330 in Asia/Tokyo in testAPI() local
345 DateInterval * dtitv12 = new DateInterval(date1, date2); in testAPI()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateIntervalFormatTest.java1313 … long date1 = 1299090600000L; // 2011-Mar-02 1030 in US/Pacific, 2011-Mar-03 0330 in Asia/Tokyo in TestGetSetTimeZone() local
1315 DateInterval dtitv = new DateInterval(date1, date2); in TestGetSetTimeZone()
1440 long date1 = 1299090600000L; in TestDateIntervalFormatCoverage() local
1442 DateInterval dtitv = new DateInterval(date1, date2); in TestDateIntervalFormatCoverage()
DDateFormatTest.java170 DateFormat date1 = DateFormat.getPatternInstance(actualPattern, in TestPatterns() local
176 String actualLocalPattern1 = ((SimpleDateFormat)date1).toLocalizedPattern(); in TestPatterns()
189 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
1616 Date date1 = new Date(); in TestRunTogetherPattern985() local
1617 now = ((DateFormat) formatter).format(date1); in TestRunTogetherPattern985()
1626 if (date2 == null || !date2.equals(date1)) in TestRunTogetherPattern985()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarRegressionTest.java1259 Date date1 = calendar.getTime(); in Test4165343() local
1260 logln("after adding 12 months: " + date1); in Test4165343()
1265 if (date1.equals(date2)) { in Test4165343()
1785 Date date1 = cal.getTime();
1789 cal.setTime(date1);
1794 logln("" + date2 + " - " + date1 + " = " +
1797 cal.setTime(date1);
1803 errln("FAIL: " + date1 + " + " +
1807 logln("Ok: " + date1 + " + " +
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java1468 … long date1 = 1299090600000L; // 2011-Mar-02 1030 in US/Pacific, 2011-Mar-03 0330 in Asia/Tokyo in TestGetSetTimeZone() local
1470 DateInterval dtitv = new DateInterval(date1, date2); in TestGetSetTimeZone()
1595 long date1 = 1299090600000L; in TestDateIntervalFormatCoverage() local
1597 DateInterval dtitv = new DateInterval(date1, date2); in TestDateIntervalFormatCoverage()
DDateFormatTest.java167 DateFormat date1 = DateFormat.getPatternInstance(actualPattern, in TestPatterns() local
173 String actualLocalPattern1 = ((SimpleDateFormat)date1).toLocalizedPattern(); in TestPatterns()
186 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
1700 Date date1 = new Date(); in TestRunTogetherPattern985() local
1701 now = ((DateFormat) formatter).format(date1); in TestRunTogetherPattern985()
1710 if (date2 == null || !date2.equals(date1)) in TestRunTogetherPattern985()
/third_party/gstreamer/gstreamer/gst/
Dgstvalue.c7201 const GDate *date1 = (const GDate *) g_value_get_boxed (value1); in gst_value_compare_date() local
7205 if (date1 == date2) in gst_value_compare_date()
7208 if ((date1 == NULL || !g_date_valid (date1)) in gst_value_compare_date()
7214 && (date1 != NULL && g_date_valid (date1))) { in gst_value_compare_date()
7218 if (date1 == NULL || date2 == NULL || !g_date_valid (date1) in gst_value_compare_date()
7223 j1 = g_date_get_julian (date1); in gst_value_compare_date()
7268 const GstDateTime *date1 = (const GstDateTime *) g_value_get_boxed (value1); in gst_value_compare_date_time() local
7271 if (date1 == date2) in gst_value_compare_date_time()
7274 if ((date1 == NULL) && (date2 != NULL)) { in gst_value_compare_date_time()
7277 if ((date2 == NULL) && (date1 != NULL)) { in gst_value_compare_date_time()
[all …]
/third_party/python/Doc/library/
Ddatetime.rst584 | ``date2 = date1 + timedelta`` | *date2* is ``timedelta.days`` days removed |
585 | | from *date1*. (1) |
587 | ``date2 = date1 - timedelta`` | Computes *date2* such that ``date2 + |
588 | | timedelta == date1``. (2) |
590 | ``timedelta = date1 - date2`` | \(3) |
592 | ``date1 < date2`` | *date1* is considered less than *date2* when |
593 | | *date1* precedes *date2* in time. (4) |
600 ``timedelta.days < 0``. Afterward ``date2 - date1 == timedelta.days``.
610 timedelta.microseconds are 0, and date2 + timedelta == date1 after.
613 In other words, ``date1 < date2`` if and only if ``date1.toordinal() <
/third_party/typescript/src/compiler/
DtsbuildPublic.ts71 function newer(date1: Date, date2: Date): Date {
72 return date2 > date1 ? date2 : date1;
/third_party/typescript/lib/
Dtsc.js93436 function newer(date1, date2) { argument
93437 return date2 > date1 ? date2 : date1;
DtypingsInstaller.js113422 function newer(date1, date2) { argument
113423 return date2 > date1 ? date2 : date1;
DtypescriptServices.js113627 function newer(date1, date2) { argument
113628 return date2 > date1 ? date2 : date1;
Dtsserverlibrary.js113627 function newer(date1, date2) { argument
113628 return date2 > date1 ? date2 : date1;
Dtsserver.js113433 function newer(date1, date2) { argument
113434 return date2 > date1 ? date2 : date1;
Dtypescript.js113627 function newer(date1, date2) { argument
113628 return date2 > date1 ? date2 : date1;