Home
last modified time | relevance | path

Searched refs:testDate (Results 1 – 18 of 18) sorted by relevance

/third_party/icu/icu4c/source/test/intltest/
Dtzregts.cpp397 UDate testDate = testCal->getTime(status); in checkCalendar314() local
399 UBool inDaylightTime = testTZ->inDaylightTime(testDate, status); in checkCalendar314()
419 output = testTZ->getID(output) + " " + sdf->format(testDate, output, pos) + in checkCalendar314()
1223 UDate testDate; in TestNegativeDaylightSaving() local
1228 testDate = cal.getTime(status); in TestNegativeDaylightSaving()
1231 if (!stzDublin.inDaylightTime(testDate, status)) { in TestNegativeDaylightSaving()
1236 stzDublin.getOffset(testDate, FALSE, rawOffset, dstOffset, status); in TestNegativeDaylightSaving()
1245 testDate = cal.getTime(status); in TestNegativeDaylightSaving()
1248 if (stzDublin.inDaylightTime(testDate, status)) { in TestNegativeDaylightSaving()
1253 stzDublin.getOffset(testDate, FALSE, rawOffset, dstOffset, status); in TestNegativeDaylightSaving()
Dtmsgfmt.h130 void doTheRealDateTimeSkeletonTesting(UDate testDate,
Ddtptngts.cpp693 UDate testDate= LocaleTest::date(99, 0, 13, 23, 58, 59) + 123.0; in testAPI() local
714 resultDate = sdf.format(testDate, resultDate); in testAPI()
735 testDate= LocaleTest::date(99, 9, 13, 23, 58, 59); in testAPI()
760 resultDate = enFormat->format(testDate, resultDate); in testAPI()
882 testDate= LocaleTest::date(99, 0, 13, 23, 58, 59); in testAPI()
883 formatted = formatter.format(testDate, formatted, status); in testAPI()
Ddtfmrgts.cpp1513 UDate testDate = 43200000.0; // 1970-Jan-01 12:00 GMT in Test12902_yWithGregoCalInThaiLoc() local
1534 getFmtStr = df1->format(testDate, getFmtStr); in Test12902_yWithGregoCalInThaiLoc()
1550 getFmtStr = df2->format(testDate, getFmtStr); in Test12902_yWithGregoCalInThaiLoc()
Ddtfmttst.cpp1327 UDate testDate = date(97, UCAL_SEPTEMBER, 15); in TestLocaleDateFormat() local
1335 logln((UnicodeString)"Date set to : " + dateToString(testDate)); in TestLocaleDateFormat()
1344 dfFrench->format(testDate, out); in TestLocaleDateFormat()
1349 dfUS->format(testDate, out); in TestLocaleDateFormat()
1362 const UDate testDate = 874266720000.; // Sun Sep 14 21:52:00 CET 1997 in TestFormattingLocaleTimeSeparator() local
1363 logln((UnicodeString)"Date set to : " + dateToString(testDate)); in TestFormattingLocaleTimeSeparator()
1390 dfArab->format(testDate, actualArab); in TestFormattingLocaleTimeSeparator()
1391 dfLatn->format(testDate, actualLatn); in TestFormattingLocaleTimeSeparator()
Dtmsgfmt.cpp2033 void TestMessageFormat::doTheRealDateTimeSkeletonTesting(UDate testDate, in doTheRealDateTimeSkeletonTesting() argument
2041 Formattable argsArray[] = { Formattable(testDate, Formattable::kIsDate) }; in doTheRealDateTimeSkeletonTesting()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
DTimeZoneRegressionTest.java265 Date testDate = testCal.getTime(); in checkCalendar314() local
267 boolean inDaylightTime = testTZ.inDaylightTime(testDate); in checkCalendar314()
285 String output = testTZ.getID() + " " + sdf.format(testDate) + in checkCalendar314()
1245 Date testDate; in TestNegativeDaylightSaving() local
1249 testDate = cal.getTime(); in TestNegativeDaylightSaving()
1250 if (!stzDublin.inDaylightTime(testDate)) { in TestNegativeDaylightSaving()
1253 stzDublin.getOffset(testDate.getTime(), false, offsets); in TestNegativeDaylightSaving()
1261 testDate = cal.getTime(); in TestNegativeDaylightSaving()
1262 if (stzDublin.inDaylightTime(testDate)) { in TestNegativeDaylightSaving()
1265 stzDublin.getOffset(testDate.getTime(), false, offsets); in TestNegativeDaylightSaving()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegressionTest.java262 Date testDate = testCal.getTime(); in checkCalendar314() local
264 boolean inDaylightTime = testTZ.inDaylightTime(testDate); in checkCalendar314()
282 String output = testTZ.getID() + " " + sdf.format(testDate) + in checkCalendar314()
1242 Date testDate; in TestNegativeDaylightSaving() local
1246 testDate = cal.getTime(); in TestNegativeDaylightSaving()
1247 if (!stzDublin.inDaylightTime(testDate)) { in TestNegativeDaylightSaving()
1250 stzDublin.getOffset(testDate.getTime(), false, offsets); in TestNegativeDaylightSaving()
1258 testDate = cal.getTime(); in TestNegativeDaylightSaving()
1259 if (stzDublin.inDaylightTime(testDate)) { in TestNegativeDaylightSaving()
1262 stzDublin.getOffset(testDate.getTime(), false, offsets); in TestNegativeDaylightSaving()
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcalendar.cpp3367 int32_t testDate = date; in handleComputeJulianDay() local
3369 testDate += 7; in handleComputeJulianDay()
3373 testDate += 7 * (woy - 1); in handleComputeJulianDay()
3377 … __FILE__, __LINE__, year, year-1, testDate, julianDay+testDate, nextJulianDay); in handleComputeJulianDay()
3379 …if(julianDay+testDate > nextJulianDay) { // is it past Dec 31? (nextJulianDay is day BEFORE year+… in handleComputeJulianDay()
/third_party/icu/icu4c/source/i18n/
Dcalendar.cpp3383 int32_t testDate = date; in handleComputeJulianDay() local
3385 testDate += 7; in handleComputeJulianDay()
3389 testDate += 7 * (woy - 1); in handleComputeJulianDay()
3393 … __FILE__, __LINE__, year, year-1, testDate, julianDay+testDate, nextJulianDay); in handleComputeJulianDay()
3395 …if(julianDay+testDate > nextJulianDay) { // is it past Dec 31? (nextJulianDay is day BEFORE year+… in handleComputeJulianDay()
/third_party/skia/third_party/externals/icu/source/i18n/
Dcalendar.cpp3383 int32_t testDate = date; in handleComputeJulianDay() local
3385 testDate += 7; in handleComputeJulianDay()
3389 testDate += 7 * (woy - 1); in handleComputeJulianDay()
3393 … __FILE__, __LINE__, year, year-1, testDate, julianDay+testDate, nextJulianDay); in handleComputeJulianDay()
3395 …if(julianDay+testDate > nextJulianDay) { // is it past Dec 31? (nextJulianDay is day BEFORE year+… in handleComputeJulianDay()
/third_party/node/deps/icu-small/source/i18n/
Dcalendar.cpp3383 int32_t testDate = date; in handleComputeJulianDay() local
3385 testDate += 7; in handleComputeJulianDay()
3389 testDate += 7 * (woy - 1); in handleComputeJulianDay()
3393 … __FILE__, __LINE__, year, year-1, testDate, julianDay+testDate, nextJulianDay); in handleComputeJulianDay()
3395 …if(julianDay+testDate > nextJulianDay) { // is it past Dec 31? (nextJulianDay is day BEFORE year+… in handleComputeJulianDay()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateFormatTest.java140 Date testDate = new Date(2012-1900, 6, 1, 14, 58, 59); // just for verbose log in TestPatterns() local
189 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
2037 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestLocaleDateFormat() local
2047 logln("Date set to : " + testDate); in TestLocaleDateFormat()
2048 String out = dfFrench.format(testDate); in TestLocaleDateFormat()
2063 out = dfUS.format(testDate); in TestLocaleDateFormat()
2099 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestDateFormatNone() local
2106 logln("Date set to : " + testDate); in TestDateFormatNone()
2107 String out = dfFrench.format(testDate); in TestDateFormatNone()
DDateFormatRegressionTest.java1246 final Date testDate = new Date(43200000); // 1970-Jan-01 12:00 GMT in Test12902_yWithGregoCalInThaiLoc() local
1257 String getFormat = df1.format(testDate); in Test12902_yWithGregoCalInThaiLoc()
1267 String getFormat = df2.format(testDate); in Test12902_yWithGregoCalInThaiLoc()
DDateTimeGeneratorTest.java636 Date testDate = new Date(); in TestReplacingZoneString() local
671 String formatted = newFormat.format(testDate); in TestReplacingZoneString()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java137 Date testDate = new Date(2012-1900, 6, 1, 14, 58, 59); // just for verbose log in TestPatterns() local
186 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
2121 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestLocaleDateFormat() local
2131 logln("Date set to : " + testDate); in TestLocaleDateFormat()
2132 String out = dfFrench.format(testDate); in TestLocaleDateFormat()
2147 out = dfUS.format(testDate); in TestLocaleDateFormat()
2183 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestDateFormatNone() local
2190 logln("Date set to : " + testDate); in TestDateFormatNone()
2191 String out = dfFrench.format(testDate); in TestDateFormatNone()
DDateFormatRegressionTest.java1243 final Date testDate = new Date(43200000); // 1970-Jan-01 12:00 GMT in Test12902_yWithGregoCalInThaiLoc() local
1254 String getFormat = df1.format(testDate); in Test12902_yWithGregoCalInThaiLoc()
1264 String getFormat = df2.format(testDate); in Test12902_yWithGregoCalInThaiLoc()
DDateTimeGeneratorTest.java633 Date testDate = new Date(); in TestReplacingZoneString() local
668 String formatted = newFormat.format(testDate); in TestReplacingZoneString()