Home
last modified time | relevance | path

Searched defs:sdf (Results 1 – 25 of 45) sorted by relevance

12

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DDateFormatRegressionTestJ.java190 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4358730() local
215 SimpleDateFormat sdf = new SimpleDateFormat(pattern, Locale.JAPAN); in Test4375399() local
244 SimpleDateFormat sdf = new SimpleDateFormat(pattern); in Test4468663() local
269 SimpleDateFormat sdf = (SimpleDateFormat) sdf_.clone(); in run() local
297 SimpleDateFormat sdf = (SimpleDateFormat) sdf_.clone(); in run() local
DIntlTestDateFormatAPIC.java74 SimpleDateFormat sdf = new SimpleDateFormat(); in TestNameHiding() local
DDateFormatTest.java212 SimpleDateFormat sdf = new SimpleDateFormat("zzzz"); in TestWallyWedel() local
1758 SimpleDateFormat sdf = (SimpleDateFormat)DateFormat.getDateInstance(); in TestDayOfYearPattern195() local
1764 public void tryPattern(SimpleDateFormat sdf, Date d, String pattern, Date expected) { in tryPattern()
3433 SimpleDateFormat sdf = new SimpleDateFormat(patterns[i]); in TestFormatToCharacterIterator() local
3885 SimpleDateFormat sdf = new SimpleDateFormat("", "", null); in TestSimpleDateFormatConstructor_String_String_ULocale() local
4024 SimpleDateFormat sdf = new SimpleDateFormat(pattern,override,ULocale.CHINA); in TestFormalChineseDate() local
4142 SimpleDateFormat sdf = new SimpleDateFormat(data.pattern); in TestParsePosition() local
4947 SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss bbb", Locale.ENGLISH); in TestAmPmMidnightNoon() local
5066 SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss BBB"); in TestFlexibleDayPeriod() local
5163 SimpleDateFormat sdf = new SimpleDateFormat("", ULocale.GERMANY); in TestDayPeriodWithLocales() local
[all …]
DTimeZoneFormatTest.java155 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip() local
386 SimpleDateFormat sdf = new SimpleDateFormat(pattern, LOCALES[locidx]); in TestTimeRoundTrip() local
829 SimpleDateFormat sdf = new SimpleDateFormat(); in TestISOFormat() local
DDateFormatRegressionTest.java61 SimpleDateFormat sdf = (SimpleDateFormat) DateFormat.getDateInstance(); in Test4029195() local
505 SimpleDateFormat sdf = new SimpleDateFormat("z", Locale.US); in Test4101483() local
569 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4104136() local
604 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4104522() local
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatRegressionTestJ.java187 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4358730() local
212 SimpleDateFormat sdf = new SimpleDateFormat(pattern, Locale.JAPAN); in Test4375399() local
241 SimpleDateFormat sdf = new SimpleDateFormat(pattern); in Test4468663() local
266 SimpleDateFormat sdf = (SimpleDateFormat) sdf_.clone(); in run() local
294 SimpleDateFormat sdf = (SimpleDateFormat) sdf_.clone(); in run() local
DIntlTestDateFormatAPIC.java71 SimpleDateFormat sdf = new SimpleDateFormat(); in TestNameHiding() local
DDateFormatTest.java209 SimpleDateFormat sdf = new SimpleDateFormat("zzzz"); in TestWallyWedel() local
1842 SimpleDateFormat sdf = (SimpleDateFormat)DateFormat.getDateInstance(); in TestDayOfYearPattern195() local
1848 public void tryPattern(SimpleDateFormat sdf, Date d, String pattern, Date expected) { in tryPattern()
3530 SimpleDateFormat sdf = new SimpleDateFormat(patterns[i]); in TestFormatToCharacterIterator() local
3982 SimpleDateFormat sdf = new SimpleDateFormat("", "", null); in TestSimpleDateFormatConstructor_String_String_ULocale() local
4121 SimpleDateFormat sdf = new SimpleDateFormat(pattern,override,ULocale.CHINA); in TestFormalChineseDate() local
4239 SimpleDateFormat sdf = new SimpleDateFormat(data.pattern); in TestParsePosition() local
5044 SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss bbb", Locale.ENGLISH); in TestAmPmMidnightNoon() local
5163 SimpleDateFormat sdf = new SimpleDateFormat("hh:mm:ss BBB"); in TestFlexibleDayPeriod() local
5260 SimpleDateFormat sdf = new SimpleDateFormat("", ULocale.GERMANY); in TestDayPeriodWithLocales() local
[all …]
DTimeZoneFormatTest.java152 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); in TestTimeZoneRoundTrip() local
383 SimpleDateFormat sdf = new SimpleDateFormat(pattern, LOCALES[locidx]); in TestTimeRoundTrip() local
826 SimpleDateFormat sdf = new SimpleDateFormat(); in TestISOFormat() local
DDateFormatRegressionTest.java58 SimpleDateFormat sdf = (SimpleDateFormat) DateFormat.getDateInstance(); in Test4029195() local
502 SimpleDateFormat sdf = new SimpleDateFormat("z", Locale.US); in Test4101483() local
566 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4104136() local
601 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4104522() local
/third_party/skia/third_party/externals/icu/source/samples/dtptngsample/
Ddtptngsample.cpp59 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,locales[j],status); in getBestPatternExample() local
92 …SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,statu… in addPatternExample() local
133 SimpleDateFormat *sdf = new SimpleDateFormat("EEEE d MMMM y HH:mm:ss zzzz",locale,status); in replaceFieldTypesExample() local
/third_party/icu/icu4c/source/samples/dtptngsample/
Ddtptngsample.cpp59 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,locales[j],status); in getBestPatternExample() local
92 …SimpleDateFormat *sdf = new SimpleDateFormat(dtfg->getBestPattern("MMMMddHmm",status),locale,statu… in addPatternExample() local
133 SimpleDateFormat *sdf = new SimpleDateFormat("EEEE d MMMM y HH:mm:ss zzzz",locale,status); in replaceFieldTypesExample() local
/third_party/icu/icu4c/source/test/perf/normperf/
Ddtfmtrtperf.h155 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *st… in call() local
202 delete sdf; in call() local
/third_party/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/
DDateTimePatternGeneratorSample.java62 SimpleDateFormat sdf = new SimpleDateFormat(pattern, locale); in getBestPatternExample() local
/third_party/icu/icu4c/source/test/intltest/
Ddtfmrgts.cpp83 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); in Test4029195() local
710 SimpleDateFormat sdf(UnicodeString("z"), Locale::getUS(), status); in Test4101483() local
787 SimpleDateFormat *sdf = new SimpleDateFormat(status); in Test4104136() local
852 SimpleDateFormat *sdf = new SimpleDateFormat(status); in Test4104522() local
1317 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); in Test1684() local
1426 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); in Test5554() local
Ddtfmttst.cpp263 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel() local
914 SimpleDateFormat* sdf = (SimpleDateFormat*)DateFormat::createDateInstance(); in TestDayOfYearPattern195() local
928 DateFormatTest::tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected) in tryPattern()
4026 SimpleDateFormat sdf(pattern, numsys_override, Locale::getChina(),status); in TestFormalChineseDate() local
4057 SimpleDateFormat sdf("ZZZZ", Locale(""), status); in TestStandAloneGMTParse() local
4094 SimpleDateFormat sdf(UnicodeString(TestData[i][0]), status); in TestParsePosition() local
5064 SimpleDateFormat sdf(UnicodeString(), errorCode); in TestAmPmMidnightNoon() local
5171 SimpleDateFormat sdf(UnicodeString(), errorCode); in TestFlexibleDayPeriod() local
5283 SimpleDateFormat sdf(UnicodeString(), Locale::getGermany(), errorCode); in TestDayPeriodWithLocales() local
5394 SimpleDateFormat sdf(UnicodeString("hh:mm 'ss' bbbb"), errorCode); in TestMinuteSecondFieldsInOddPlaces() local
[all …]
Ddtptngts.cpp628 SimpleDateFormat sdf(bPattern, loc, status); in testAPI() local
653 SimpleDateFormat sdf(bPattern, loc, status); in testAPI() local
715 SimpleDateFormat sdf(bestPattern, loc, status); in testAPI() local
1616 SimpleDateFormat* sdf = dynamic_cast<SimpleDateFormat*>(df.getAlias()); in testBestPattern() local
Ddtfmapts.cpp310 SimpleDateFormat sdf(status); in TestNameHiding() local
Dtzfmttst.cpp182 …SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], sta… in TestTimeZoneRoundTrip() local
577 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, gLocaleData->locales[locidx], status); in RunTimeRoundTripTests() local
1007 LocalPointer<SimpleDateFormat> sdf(new SimpleDateFormat(status), status); in TestISOFormat() local
Dtzregts.cpp156 SimpleDateFormat sdf((UnicodeString)"E d MMM yyyy G HH:mm", status); in Test4073215() local
406 …LocalPointer<SimpleDateFormat> sdf(new SimpleDateFormat((UnicodeString) "MM/dd/yyyy HH:mm", status… in checkCalendar314() local
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimestamps.java92 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss", Locale.ENGLISH); in createTimestampFormat() local
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneRegressionTest.java265 SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy HH:mm"); in checkCalendar314() local
720 SimpleDateFormat sdf = new SimpleDateFormat("MMM dd yyyy HH:mm z"); in Test4162593() local
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/
DTimeZoneRegressionTest.java268 SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy HH:mm"); in checkCalendar314() local
723 SimpleDateFormat sdf = new SimpleDateFormat("MMM dd yyyy HH:mm z"); in Test4162593() local
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timezone/
DICUZDump.java190 private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd EEE HH:mm:ss", ULocale.US); field in ICUZDump.DumpFormatter
/third_party/icu/icu4c/source/tools/tzcode/
Dicuzdump.cpp90 SimpleDateFormat* sdf; member in DumpFormatter

12