/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
DerGeneralizedTimeEDTest.java | 81 SimpleDateFormat sdf = local 83 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); 84 myDate = sdf.parse("06.06.2004 00:00");
|
GeneralizedTimeTest.java | 51 SimpleDateFormat sdf = new SimpleDateFormat("dd MMM yyyy HH:mm:ss", Locale.US); typedefs 52 sdf.setTimeZone(TimeZone.getTimeZone("GMT")); 90 validGeneralizedTimes[i][2] = sdf
|
UTCTimeTest.java | 48 SimpleDateFormat sdf = new SimpleDateFormat("dd MMM yyyy HH:mm:ss", Locale.US); typedefs 49 sdf.setTimeZone(TimeZone.getTimeZone("GMT")); 81 validUTCTimes[i][2] = sdf
|
DerUTCTimeEDTest.java | 62 SimpleDateFormat sdf = local 64 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); 65 myDate = sdf.parse("06.06.2004 00:00");
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1GeneralizedTime.java | 87 SimpleDateFormat sdf = new SimpleDateFormat(GEN_PATTERN, Locale.US); local 88 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); 89 String temp = sdf.format(out.content);
|
ASN1UTCTime.java | 98 SimpleDateFormat sdf = new SimpleDateFormat(UTC_PATTERN, Locale.US); local 99 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); 100 out.content = sdf.format(out.content).getBytes(StandardCharsets.UTF_8);
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 36 SimpleDateFormat sdf = new SimpleDateFormat(); local 37 Date originalDate = sdf.get2DigitYearStart(); 38 assertNotSame(sdf.get2DigitYearStart(), originalDate); 39 assertEquals(sdf.get2DigitYearStart(), originalDate); 41 assertFalse(sdf.get2DigitYearStart().equals(originalDate)); 44 sdf.set2DigitYearStart(newDate); 45 assertNotSame(sdf.get2DigitYearStart(), newDate); 46 assertEquals(sdf.get2DigitYearStart(), newDate); 48 assertFalse(sdf.get2DigitYearStart().equals(newDate)); 201 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l) local 227 SimpleDateFormat sdf = new SimpleDateFormat(fmt, Locale.US); local 241 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z"); local 320 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss zzzz", l); local 333 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", new Locale("ar", "EG")); local 351 SimpleDateFormat sdf = new SimpleDateFormat("d. MMM yyyy H:mm", Locale.GERMAN); local [all...] |
DateFormatSymbolsTest.java | 77 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); local 78 sdf.setDateFormatSymbols(dfs); 79 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); 80 return sdf.format(new Date(0));
|
OldDateFormatTest.java | 93 SimpleDateFormat sdf = new SimpleDateFormat("M/d/yy h:mm a", Locale.US); local 94 assertTrue("Incorrect date format", sdf.format(current).equals(dtf)); 113 SimpleDateFormat sdf = new SimpleDateFormat("M/d/yy h:mm a", Locale.US); local 114 assertTrue("Incorrect date format", sdf.format(current).equals(
|
/external/chromium_org/third_party/icu/source/test/perf/normperf/ |
dtfmtrtperf.h | 152 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *status); local 170 sdf->setTimeZone(*tz); 171 sdf->format(DATES[datidx], tzstr, fpos); 176 sdf->setTimeZone(unknownZone); 188 sdf->parse(tzstr, *outcal, pos); 199 delete sdf;
|
/external/icu4c/test/perf/normperf/ |
dtfmtrtperf.h | 152 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *status); local 170 sdf->setTimeZone(*tz); 171 sdf->format(DATES[datidx], tzstr, fpos); 176 sdf->setTimeZone(unknownZone); 188 sdf->parse(tzstr, *outcal, pos); 199 delete sdf;
|
/external/libvpx/libvpx/vp8/common/ |
variance.h | 101 vp8_sad_fn_t sdf; member in struct:variance_vtable
|
/libcore/benchmarks/src/benchmarks/regression/ |
ExpensiveObjectsBenchmark.java | 132 SimpleDateFormat sdf = new SimpleDateFormat(); local 134 sdf.clone();
|
/external/libvpx/libvpx/vp9/encoder/ |
vp9_variance.h | 84 vp9_sad_fn_t sdf; member in struct:vp9_variance_vtable
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 197 SimpleDateFormat sdf = new SimpleDateFormat(pattern); local 198 sdf.setTimeZone(utc); 207 assertEquals(expected, sdf.format(c.getTime()));
|
/external/icu4c/i18n/ |
reldtfmt.cpp | 87 SimpleDateFormat *sdf = dynamic_cast<SimpleDateFormat *>(df); local 88 if (sdf != NULL) { 89 sdf->toPattern(fTimePattern); 90 delete sdf;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
Clock.java | 140 SimpleDateFormat sdf; local 173 mClockFormat = sdf = new SimpleDateFormat(format); 176 sdf = mClockFormat; 178 String result = sdf.format(mCalendar.getTime());
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
Utils.java | 474 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); local 475 dateDisplay.setText(sdf.format(now)); 478 sdf = new SimpleDateFormat(fmt, l); 479 dateDisplay.setContentDescription(sdf.format(now));
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
tzfmttst.cpp | 117 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status); local 134 sdf->setTimeZone(*tz); 135 sdf->format(DATES[datidx], tzstr, fpos); 140 sdf->setTimeZone(unknownZone); 153 sdf->parse(tzstr, *outcal, pos); 235 delete sdf; 319 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, data.locales[locidx], status); local 345 sdf->setTimeZone(*tz); 392 sdf->format(testTimes[testidx], text, fpos); 394 UDate parsedDate = sdf->parse(text, status) [all...] |
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
icuzdump.cpp | 46 sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status); 55 sdf->setTimeZone(*stz); 56 UnicodeString str = sdf->format(time, appendTo); 86 SimpleDateFormat* sdf; member in class:DumpFormatter
|
/external/icu4c/tools/tzcode/ |
icuzdump.cpp | 46 sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status); 55 sdf->setTimeZone(*stz); 56 UnicodeString str = sdf->format(time, appendTo); 86 SimpleDateFormat* sdf; member in class:DumpFormatter
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 147 SimpleDateFormat sdf = (SimpleDateFormat) natural; local 148 String pattern = sdf.toPattern();
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
SmartCamera.java | 117 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd_HH:mm:ss"); local 132 sdf.format(cal.getTime()) + "_image" + i + ".jpg", "image " + i);
|
/libcore/luni/src/test/java/libcore/java/util/ |
TimeZoneTest.java | 62 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); local 63 Date date = sdf.parse("1902-11-01T00:00:00.000+0800"); 70 date = sdf.parse("1902-06-01T00:00:00.000+0800");
|
/external/icu4c/test/intltest/ |
tzfmttst.cpp | 164 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status); local 181 sdf->setTimeZone(*tz); 182 sdf->format(DATES[datidx], tzstr, fpos); 187 sdf->setTimeZone(unknownZone); 200 sdf->parse(tzstr, *outcal, pos); 329 delete sdf; 425 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, data.locales[locidx], status); local 460 sdf->setTimeZone(*tz); 511 sdf->format(testTimes[testidx], text, fpos); 513 UDate parsedDate = sdf->parse(text, status) [all...] |