/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRegressionTestJ.java | 187 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4358730() local 193 sdf.applyPattern("MM d y"); in Test4358730() 194 logln(sdf.format(today)); in Test4358730() 195 sdf.applyPattern("MM d yy"); in Test4358730() 196 logln(sdf.format(today)); in Test4358730() 198 sdf.applyPattern("MM d yyy"); in Test4358730() 199 logln(sdf.format(today)); in Test4358730() 201 sdf.applyPattern("MM d yyyy"); in Test4358730() 202 logln(sdf.format(today)); in Test4358730() 204 sdf.applyPattern("MM d yyyyy"); in Test4358730() [all …]
|
D | DateFormatTest.java | 209 SimpleDateFormat sdf = new SimpleDateFormat("zzzz"); in TestWallyWedel() local 254 sdf.setTimeZone(ttz); in TestWallyWedel() 262 fmtOffset = sdf.format(today, fmtOffset, pos); in TestWallyWedel() 681 for (SimpleDateFormat sdf : formats) { in TestGenericTime() 682 sdf.setTimeZoneFormat(tzfmt); in TestGenericTime() 1842 SimpleDateFormat sdf = (SimpleDateFormat)DateFormat.getDateInstance(); in TestDayOfYearPattern195() local 1843 tryPattern(sdf, today, null, expected); in TestDayOfYearPattern195() 1844 tryPattern(sdf, today, "G yyyy DDD", expected); in TestDayOfYearPattern195() 1848 public void tryPattern(SimpleDateFormat sdf, Date d, String pattern, Date expected) { in tryPattern() argument 1850 sdf.applyPattern(pattern); in tryPattern() [all …]
|
D | IntlTestDateFormatAPIC.java | 71 SimpleDateFormat sdf = new SimpleDateFormat(); in TestNameHiding() local 73 str = sdf.format(dateObj); in TestNameHiding() 74 strBuffer = sdf.format(dateObj, strBuffer, fpos); in TestNameHiding() 76 strBuffer = sdf.format(new Date(0), strBuffer, fpos); in TestNameHiding() 77 str = sdf.format(new Date(0)); in TestNameHiding() 79 sdf.parse(str); in TestNameHiding() 80 sdf.parse(str, ppos); in TestNameHiding()
|
D | DateFormatRegressionTest.java | 58 SimpleDateFormat sdf = (SimpleDateFormat) DateFormat.getDateInstance(); in Test4029195() local 59 String pat = sdf.toPattern(); in Test4029195() 63 fmtd = sdf.format(today, fmtd, pos); in Test4029195() 66 sdf.applyPattern("G yyyy DDD"); in Test4029195() 68 todayS = sdf.format(today, todayS, pos); in Test4029195() 71 today = sdf.parse(todayS.toString()); in Test4029195() 79 rt = sdf.format(sdf.parse(todayS.toString()), rt, pos); in Test4029195() 502 SimpleDateFormat sdf = new SimpleDateFormat("z", Locale.US); in Test4101483() local 506 sdf.format(d, buf, fp); in Test4101483() 507 logln(sdf.format(d, buf, fp).toString()); in Test4101483() [all …]
|
D | TimeZoneFormatTest.java | 152 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip() local 162 sdf.setTimeZone(tz); in TestTimeZoneRoundTrip() 163 String tzstr = sdf.format(DATES[datidx]); in TestTimeZoneRoundTrip() 168 sdf.setTimeZone(unknownZone); in TestTimeZoneRoundTrip() 176 sdf.parse(tzstr, outcal, pos); in TestTimeZoneRoundTrip() 383 SimpleDateFormat sdf = new SimpleDateFormat(pattern, LOCALES[locidx]); in TestTimeRoundTrip() local 429 sdf.setTimeZone(tz); in TestTimeRoundTrip() 470 String text = sdf.format(new Date(testTimes[testidx])); in TestTimeRoundTrip() 472 Date parsedDate = sdf.parse(text); in TestTimeRoundTrip() 826 SimpleDateFormat sdf = new SimpleDateFormat(); in TestISOFormat() local [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
D | DateFormatRegressionTestJ.java | 190 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4358730() local 196 sdf.applyPattern("MM d y"); in Test4358730() 197 logln(sdf.format(today)); in Test4358730() 198 sdf.applyPattern("MM d yy"); in Test4358730() 199 logln(sdf.format(today)); in Test4358730() 201 sdf.applyPattern("MM d yyy"); in Test4358730() 202 logln(sdf.format(today)); in Test4358730() 204 sdf.applyPattern("MM d yyyy"); in Test4358730() 205 logln(sdf.format(today)); in Test4358730() 207 sdf.applyPattern("MM d yyyyy"); in Test4358730() [all …]
|
D | DateFormatTest.java | 212 SimpleDateFormat sdf = new SimpleDateFormat("zzzz"); in TestWallyWedel() local 257 sdf.setTimeZone(ttz); in TestWallyWedel() 265 fmtOffset = sdf.format(today, fmtOffset, pos); in TestWallyWedel() 684 for (SimpleDateFormat sdf : formats) { in TestGenericTime() 685 sdf.setTimeZoneFormat(tzfmt); in TestGenericTime() 1758 SimpleDateFormat sdf = (SimpleDateFormat)DateFormat.getDateInstance(); in TestDayOfYearPattern195() local 1759 tryPattern(sdf, today, null, expected); in TestDayOfYearPattern195() 1760 tryPattern(sdf, today, "G yyyy DDD", expected); in TestDayOfYearPattern195() 1764 public void tryPattern(SimpleDateFormat sdf, Date d, String pattern, Date expected) { in tryPattern() argument 1766 sdf.applyPattern(pattern); in tryPattern() [all …]
|
D | IntlTestDateFormatAPIC.java | 74 SimpleDateFormat sdf = new SimpleDateFormat(); in TestNameHiding() local 76 str = sdf.format(dateObj); in TestNameHiding() 77 strBuffer = sdf.format(dateObj, strBuffer, fpos); in TestNameHiding() 79 strBuffer = sdf.format(new Date(0), strBuffer, fpos); in TestNameHiding() 80 str = sdf.format(new Date(0)); in TestNameHiding() 82 sdf.parse(str); in TestNameHiding() 83 sdf.parse(str, ppos); in TestNameHiding()
|
D | DateFormatRegressionTest.java | 61 SimpleDateFormat sdf = (SimpleDateFormat) DateFormat.getDateInstance(); in Test4029195() local 62 String pat = sdf.toPattern(); in Test4029195() 66 fmtd = sdf.format(today, fmtd, pos); in Test4029195() 69 sdf.applyPattern("G yyyy DDD"); in Test4029195() 71 todayS = sdf.format(today, todayS, pos); in Test4029195() 74 today = sdf.parse(todayS.toString()); in Test4029195() 82 rt = sdf.format(sdf.parse(todayS.toString()), rt, pos); in Test4029195() 505 SimpleDateFormat sdf = new SimpleDateFormat("z", Locale.US); in Test4101483() local 509 sdf.format(d, buf, fp); in Test4101483() 510 logln(sdf.format(d, buf, fp).toString()); in Test4101483() [all …]
|
D | TimeZoneFormatTest.java | 155 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip() local 165 sdf.setTimeZone(tz); in TestTimeZoneRoundTrip() 166 String tzstr = sdf.format(DATES[datidx]); in TestTimeZoneRoundTrip() 171 sdf.setTimeZone(unknownZone); in TestTimeZoneRoundTrip() 179 sdf.parse(tzstr, outcal, pos); in TestTimeZoneRoundTrip() 386 SimpleDateFormat sdf = new SimpleDateFormat(pattern, LOCALES[locidx]); in TestTimeRoundTrip() local 432 sdf.setTimeZone(tz); in TestTimeRoundTrip() 473 String text = sdf.format(new Date(testTimes[testidx])); in TestTimeRoundTrip() 475 Date parsedDate = sdf.parse(text); in TestTimeRoundTrip() 829 SimpleDateFormat sdf = new SimpleDateFormat(); in TestISOFormat() local [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | dtfmttst.cpp | 262 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel() local 270 if (sdf != NULL) { in TestWallyWedel() 271 delete sdf; in TestWallyWedel() 314 sdf->setTimeZone(*ttz); in TestWallyWedel() 320 sdf->format(today,fmtOffset, pos); in TestWallyWedel() 350 delete sdf; in TestWallyWedel() 913 SimpleDateFormat* sdf = (SimpleDateFormat*)DateFormat::createDateInstance(); in TestDayOfYearPattern195() local 914 if (sdf == NULL){ in TestDayOfYearPattern195() 918 tryPattern(*sdf, today, 0, expected); in TestDayOfYearPattern195() 919 tryPattern(*sdf, today, "G yyyy DDD", expected); in TestDayOfYearPattern195() [all …]
|
D | dtfmrgts.cpp | 83 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); in Test4029195() local 88 if(sdf == NULL){ in Test4029195() 93 pat = sdf->toPattern(pat); in Test4029195() 98 fmtd = sdf->format(today, fmtd, pos); in Test4029195() 101 sdf->applyPattern("G yyyy DDD"); in Test4029195() 103 todayS = sdf->format(today, todayS, pos); in Test4029195() 106 today = sdf->parse(todayS, status); in Test4029195() 115 rt = sdf->format(sdf->parse(todayS, status), rt, pos); in Test4029195() 126 delete sdf; in Test4029195() 710 SimpleDateFormat sdf(UnicodeString("z"), Locale::getUS(), status); in Test4101483() local [all …]
|
D | dtfmapts.cpp | 310 SimpleDateFormat sdf(status); in TestNameHiding() local 313 sdf.format(dateObj, str, status); in TestNameHiding() 314 sdf.format(dateObj, str, fpos, status); in TestNameHiding() 316 sdf.format((UDate)0, str, fpos); in TestNameHiding() 317 sdf.format((UDate)0, str); in TestNameHiding() 318 sdf.parse(str, status); in TestNameHiding() 319 sdf.parse(str, ppos); in TestNameHiding() 320 sdf.getNumberFormat(); in TestNameHiding()
|
D | tzfmttst.cpp | 177 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], sta… in TestTimeZoneRoundTrip() local 194 sdf->setTimeZone(*tz); in TestTimeZoneRoundTrip() 195 sdf->format(DATES[datidx], tzstr, fpos); in TestTimeZoneRoundTrip() 200 sdf->setTimeZone(unknownZone); in TestTimeZoneRoundTrip() 213 sdf->parse(tzstr, *outcal, pos); in TestTimeZoneRoundTrip() 345 delete sdf; in TestTimeZoneRoundTrip() 572 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, gLocaleData->locales[locidx], status); in RunTimeRoundTripTests() local 613 sdf->setTimeZone(*tz); in RunTimeRoundTripTests() 667 sdf->format(testTimes[testidx], text, fpos); in RunTimeRoundTripTests() 669 UDate parsedDate = sdf->parse(text, status); in RunTimeRoundTripTests() [all …]
|
D | calregts.cpp | 992 SimpleDateFormat sdf(status); in test4103271() local 1002 sdf.adoptCalendar(testCal); in test4103271() 1003 sdf.applyPattern("EEE dd MMM yyyy 'WOY'ww'-'YYYY 'DOY'DDD"); in test4103271() 1025 output = testDesc + " - " + sdf.format(d,temp,pos) + "\t"; in test4103271() 1052 log(UnicodeString("") + sdf.format(testCal->getTime(status), str) + in test4103271() 1070 sdf.format(testCal->getTime(status), str)); in test4103271() 1135 "-DOW" + dow + " expect:" + sdf.format(exp, str) + in test4103271() 1136 " got:" + sdf.format(got, str2)); in test4103271() 1154 "-DOW" + dow + " expect:" + sdf.format(exp, str) + in test4103271() 1155 " got:" + sdf.format(got, str2)); in test4103271() [all …]
|
/third_party/skia/third_party/externals/icu/source/samples/dtptngsample/ |
D | dtptngsample.cpp | 59 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,locales[j],status); in getBestPatternExample() local 62 sdf->format(date,dateReturned,status); in getBestPatternExample() 66 delete sdf; in getBestPatternExample() 92 …SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,statu… in addPatternExample() local 96 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); in addPatternExample() 97 dateReturned = sdf->format(date, dateReturned, status); in addPatternExample() 98 pattern =sdf->toPattern(pattern); in addPatternExample() 104 delete sdf; in addPatternExample() 133 SimpleDateFormat *sdf = new SimpleDateFormat("EEEE d MMMM y HH:mm:ss zzzz",locale,status); in replaceFieldTypesExample() local 134 sdf->setTimeZone(*zone); in replaceFieldTypesExample() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/dtptngsample/ |
D | dtptngsample.cpp | 59 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,locales[j],status); in getBestPatternExample() local 62 sdf->format(date,dateReturned,status); in getBestPatternExample() 66 delete sdf; in getBestPatternExample() 92 …SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,statu… in addPatternExample() local 96 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); in addPatternExample() 97 dateReturned = sdf->format(date, dateReturned, status); in addPatternExample() 98 pattern =sdf->toPattern(pattern); in addPatternExample() 104 delete sdf; in addPatternExample() 133 SimpleDateFormat *sdf = new SimpleDateFormat("EEEE d MMMM y HH:mm:ss zzzz",locale,status); in replaceFieldTypesExample() local 134 sdf->setTimeZone(*zone); in replaceFieldTypesExample() [all …]
|
/third_party/icu/icu4c/source/samples/dtptngsample/ |
D | dtptngsample.cpp | 59 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,locales[j],status); in getBestPatternExample() local 62 sdf->format(date,dateReturned,status); in getBestPatternExample() 66 delete sdf; in getBestPatternExample() 92 …SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,statu… in addPatternExample() local 96 sdf->applyPattern(dtfg->getBestPattern("MMMMddHmm",status)); in addPatternExample() 97 dateReturned = sdf->format(date, dateReturned, status); in addPatternExample() 98 pattern =sdf->toPattern(pattern); in addPatternExample() 104 delete sdf; in addPatternExample() 133 SimpleDateFormat *sdf = new SimpleDateFormat("EEEE d MMMM y HH:mm:ss zzzz",locale,status); in replaceFieldTypesExample() local 134 sdf->setTimeZone(*zone); in replaceFieldTypesExample() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/set_operations/sym_difference/ |
D | sym_difference_areal_areal.cpp | 52 bg::model::multi_polygon<PolygonOut> sdf; in apply() local 54 bg::sym_difference(areal1, areal2, sdf); in apply() 59 std::cout << "Sym diff: " << bg::wkt(sdf) << std::endl; in apply() 62 << "; detected: " << sdf.size() << std::endl; in apply() 65 << "; detected: " << bg::num_points(sdf) << std::endl; in apply() 68 << "; detected: " << bg::area(sdf) << std::endl; in apply()
|
/third_party/icu/icu4c/source/test/perf/normperf/ |
D | dtfmtrtperf.h | 155 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *st… in call() local 173 sdf->setTimeZone(*tz); in call() 174 sdf->format(DATES[datidx], tzstr, fpos); in call() 179 sdf->setTimeZone(unknownZone); in call() 191 sdf->parse(tzstr, *outcal, pos); in call() 202 delete sdf; in call() local
|
/third_party/skia/third_party/externals/freetype/src/sdf/ |
D | rules.mk | 18 SDF_DIR := $(SRC_DIR)/sdf 51 SDF_DRV_OBJ_S := $(OBJ_DIR)/sdf.$O 56 SDF_DRV_SRC_S := $(SDF_DIR)/sdf.c
|
/third_party/boost/libs/locale/src/icu/ |
D | formatter.cpp | 237 icu::SimpleDateFormat *sdf=dynamic_cast<icu::SimpleDateFormat *>(df.get()); in strftime_to_icu_full() local 239 if(sdf) { in strftime_to_icu_full() 240 sdf->toPattern(tmp); in strftime_to_icu_full() 460 icu::SimpleDateFormat *sdf = cache.date_formatter(); in generate_formatter() local 462 if(sdf) { in generate_formatter() 521 sdf->applyPattern(pattern); in generate_formatter() 522 df = sdf; in generate_formatter() 523 sdf = 0; in generate_formatter() 525 sdf = 0; in generate_formatter()
|
/third_party/skia/third_party/externals/icu/source/tools/tzcode/ |
D | icuzdump.cpp | 50 …sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status); in DumpFormatter() 59 sdf->setTimeZone(*stz); in format() 60 UnicodeString str = sdf->format(time, appendTo); in format() 90 SimpleDateFormat* sdf; member in DumpFormatter
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/tzcode/ |
D | icuzdump.cpp | 50 …sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status); in DumpFormatter() 59 sdf->setTimeZone(*stz); in format() 60 UnicodeString str = sdf->format(time, appendTo); in format() 90 SimpleDateFormat* sdf; member in DumpFormatter
|
/third_party/icu/icu4c/source/tools/tzcode/ |
D | icuzdump.cpp | 50 …sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status); in DumpFormatter() 59 sdf->setTimeZone(*stz); in format() 60 UnicodeString str = sdf->format(time, appendTo); in format() 90 SimpleDateFormat* sdf; member in DumpFormatter
|