Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/intltest/
Ddtptngts.cpp627 UDate testDate= LocaleTest::date(99, 0, 13, 23, 58, 59) + 123.0; in testAPI() local
647 resultDate = sdf.format(testDate, resultDate); in testAPI()
665 testDate= LocaleTest::date(99, 9, 13, 23, 58, 59); in testAPI()
690 resultDate = enFormat->format(testDate, resultDate); in testAPI()
813 testDate= LocaleTest::date(99, 0, 13, 23, 58, 59); in testAPI()
814 formatted = formatter.format(testDate, formatted, status); in testAPI()
Dtzregts.cpp395 UDate testDate = testCal->getTime(status); in checkCalendar314() local
397 UBool inDaylightTime = testTZ->inDaylightTime(testDate, status); in checkCalendar314()
417 output = testTZ->getID(output) + " " + sdf->format(testDate, output, pos) + in checkCalendar314()
Ddtfmttst.cpp1325 UDate testDate = date(97, UCAL_SEPTEMBER, 15); in TestLocaleDateFormat() local
1333 logln((UnicodeString)"Date set to : " + dateToString(testDate)); in TestLocaleDateFormat()
1342 dfFrench->format(testDate, out); in TestLocaleDateFormat()
1347 dfUS->format(testDate, out); in TestLocaleDateFormat()
1360 const UDate testDate = 874266720000.; // Sun Sep 14 21:52:00 CET 1997 in TestFormattingLocaleTimeSeparator() local
1361 logln((UnicodeString)"Date set to : " + dateToString(testDate)); in TestFormattingLocaleTimeSeparator()
1388 dfArab->format(testDate, actualArab); in TestFormattingLocaleTimeSeparator()
1389 dfLatn->format(testDate, actualLatn); in TestFormattingLocaleTimeSeparator()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/representer/
DSafeRepresenterTest.java60 public void testDate() { in testDate() method in SafeRepresenterTest
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/
DTimeZoneRegressionTest.java260 Date testDate = testCal.getTime(); in checkCalendar314() local
262 boolean inDaylightTime = testTZ.inDaylightTime(testDate); in checkCalendar314()
280 String output = testTZ.getID() + " " + sdf.format(testDate) + in checkCalendar314()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegressionTest.java259 Date testDate = testCal.getTime(); in checkCalendar314() local
261 boolean inDaylightTime = testTZ.inDaylightTime(testDate); in checkCalendar314()
279 String output = testTZ.getID() + " " + sdf.format(testDate) + in checkCalendar314()
/external/icu/icu4c/source/i18n/
Dcalendar.cpp3356 int32_t testDate = date; in handleComputeJulianDay() local
3358 testDate += 7; in handleComputeJulianDay()
3362 testDate += 7 * (woy - 1); in handleComputeJulianDay()
3366 … __FILE__, __LINE__, year, year-1, testDate, julianDay+testDate, nextJulianDay); in handleComputeJulianDay()
3368 …if(julianDay+testDate > nextJulianDay) { // is it past Dec 31? (nextJulianDay is day BEFORE year+… in handleComputeJulianDay()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateFormatTest.java133 Date testDate = new Date(2012-1900, 6, 1, 14, 58, 59); // just for verbose log in TestPatterns() local
182 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
2030 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestLocaleDateFormat() local
2040 logln("Date set to : " + testDate); in TestLocaleDateFormat()
2041 String out = dfFrench.format(testDate); in TestLocaleDateFormat()
2056 out = dfUS.format(testDate); in TestLocaleDateFormat()
2092 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestDateFormatNone() local
2099 logln("Date set to : " + testDate); in TestDateFormatNone()
2100 String out = dfFrench.format(testDate); in TestDateFormatNone()
DDateTimeGeneratorTest.java539 Date testDate = new Date(); in TestReplacingZoneString() local
574 String formatted = newFormat.format(testDate); in TestReplacingZoneString()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java132 Date testDate = new Date(2012-1900, 6, 1, 14, 58, 59); // just for verbose log in TestPatterns() local
181 logln(date1.format(testDate) + "\t\t" + Arrays.asList(EXPECTED[i])); in TestPatterns()
2029 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestLocaleDateFormat() local
2039 logln("Date set to : " + testDate); in TestLocaleDateFormat()
2040 String out = dfFrench.format(testDate); in TestLocaleDateFormat()
2055 out = dfUS.format(testDate); in TestLocaleDateFormat()
2091 Date testDate = new Date(874306800000L); //Mon Sep 15 00:00:00 PDT 1997 in TestDateFormatNone() local
2098 logln("Date set to : " + testDate); in TestDateFormatNone()
2099 String out = dfFrench.format(testDate); in TestDateFormatNone()
DDateTimeGeneratorTest.java538 Date testDate = new Date(); in TestReplacingZoneString() local
573 String formatted = newFormat.format(testDate); in TestReplacingZoneString()