/external/icu/icu4c/source/test/intltest/ |
D | tzregts.cpp | 397 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() 1228 UDate testDate; in TestNegativeDaylightSaving() local 1233 testDate = cal.getTime(status); in TestNegativeDaylightSaving() 1236 if (!stzDublin.inDaylightTime(testDate, status)) { in TestNegativeDaylightSaving() 1241 stzDublin.getOffset(testDate, FALSE, rawOffset, dstOffset, status); in TestNegativeDaylightSaving() 1250 testDate = cal.getTime(status); in TestNegativeDaylightSaving() 1253 if (stzDublin.inDaylightTime(testDate, status)) { in TestNegativeDaylightSaving() 1258 stzDublin.getOffset(testDate, FALSE, rawOffset, dstOffset, status); in TestNegativeDaylightSaving()
|
D | dtptngts.cpp | 631 UDate testDate= LocaleTest::date(99, 0, 13, 23, 58, 59) + 123.0; in testAPI() local 651 resultDate = sdf.format(testDate, resultDate); in testAPI() 669 testDate= LocaleTest::date(99, 9, 13, 23, 58, 59); in testAPI() 694 resultDate = enFormat->format(testDate, resultDate); in testAPI() 816 testDate= LocaleTest::date(99, 0, 13, 23, 58, 59); in testAPI() 817 formatted = formatter.format(testDate, formatted, status); in testAPI()
|
D | dtfmttst.cpp | 1326 UDate testDate = date(97, UCAL_SEPTEMBER, 15); in TestLocaleDateFormat() local 1334 logln((UnicodeString)"Date set to : " + dateToString(testDate)); in TestLocaleDateFormat() 1343 dfFrench->format(testDate, out); in TestLocaleDateFormat() 1348 dfUS->format(testDate, out); in TestLocaleDateFormat() 1361 const UDate testDate = 874266720000.; // Sun Sep 14 21:52:00 CET 1997 in TestFormattingLocaleTimeSeparator() local 1362 logln((UnicodeString)"Date set to : " + dateToString(testDate)); in TestFormattingLocaleTimeSeparator() 1389 dfArab->format(testDate, actualArab); in TestFormattingLocaleTimeSeparator() 1390 dfLatn->format(testDate, actualLatn); in TestFormattingLocaleTimeSeparator()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRegressionTest.java | 265 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() 1250 Date testDate; in TestNegativeDaylightSaving() local 1254 testDate = cal.getTime(); in TestNegativeDaylightSaving() 1255 if (!stzDublin.inDaylightTime(testDate)) { in TestNegativeDaylightSaving() 1258 stzDublin.getOffset(testDate.getTime(), false, offsets); in TestNegativeDaylightSaving() 1266 testDate = cal.getTime(); in TestNegativeDaylightSaving() 1267 if (stzDublin.inDaylightTime(testDate)) { in TestNegativeDaylightSaving() 1270 stzDublin.getOffset(testDate.getTime(), false, offsets); in TestNegativeDaylightSaving()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRegressionTest.java | 262 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() 1247 Date testDate; in TestNegativeDaylightSaving() local 1251 testDate = cal.getTime(); in TestNegativeDaylightSaving() 1252 if (!stzDublin.inDaylightTime(testDate)) { in TestNegativeDaylightSaving() 1255 stzDublin.getOffset(testDate.getTime(), false, offsets); in TestNegativeDaylightSaving() 1263 testDate = cal.getTime(); in TestNegativeDaylightSaving() 1264 if (stzDublin.inDaylightTime(testDate)) { in TestNegativeDaylightSaving() 1267 stzDublin.getOffset(testDate.getTime(), false, offsets); in TestNegativeDaylightSaving()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestCollationStringByteConverter.java | 201 Calendar testDate = Calendar.getInstance(); in check2() local 267 String expected = test.format(testDate); in check2()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/ |
D | SafeRepresenterTest.java | 60 public void testDate() { in testDate() method in SafeRepresenterTest
|
/external/icu/icu4c/source/i18n/ |
D | calendar.cpp | 3367 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()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatTest.java | 136 Date testDate = new Date(2012-1900, 6, 1, 14, 58, 59); // just for verbose log in TestPatterns() local 185 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns() 2033 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestLocaleDateFormat() local 2043 logln("Date set to : " + testDate); in TestLocaleDateFormat() 2044 String out = dfFrench.format(testDate); in TestLocaleDateFormat() 2059 out = dfUS.format(testDate); in TestLocaleDateFormat() 2095 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestDateFormatNone() local 2102 logln("Date set to : " + testDate); in TestDateFormatNone() 2103 String out = dfFrench.format(testDate); in TestDateFormatNone()
|
D | DateTimeGeneratorTest.java | 613 Date testDate = new Date(); in TestReplacingZoneString() local 648 String formatted = newFormat.format(testDate); in TestReplacingZoneString()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatTest.java | 139 Date testDate = new Date(2012-1900, 6, 1, 14, 58, 59); // just for verbose log in TestPatterns() local 188 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns() 2036 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestLocaleDateFormat() local 2046 logln("Date set to : " + testDate); in TestLocaleDateFormat() 2047 String out = dfFrench.format(testDate); in TestLocaleDateFormat() 2062 out = dfUS.format(testDate); in TestLocaleDateFormat() 2098 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestDateFormatNone() local 2105 logln("Date set to : " + testDate); in TestDateFormatNone() 2106 String out = dfFrench.format(testDate); in TestDateFormatNone()
|
D | DateTimeGeneratorTest.java | 616 Date testDate = new Date(); in TestReplacingZoneString() local 651 String formatted = newFormat.format(testDate); in TestReplacingZoneString()
|