/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 | 86 SimpleDateFormat sdf = new SimpleDateFormat(GEN_PATTERN); local 87 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); 88 String temp = sdf.format(out.content);
|
ASN1UTCTime.java | 97 SimpleDateFormat sdf = new SimpleDateFormat(UTC_PATTERN); local 98 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); 99 out.content = sdf.format(out.content).getBytes(Charsets.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)); 101 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l) local 127 SimpleDateFormat sdf = new SimpleDateFormat(fmt, Locale.US); local 141 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z"); local 220 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss zzzz", l); local [all...] |
DateFormatSymbolsTest.java | 76 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); local 77 sdf.setDateFormatSymbols(dfs); 78 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); 79 return sdf.format(new Date(0));
|
OldDateFormatTest.java | 93 SimpleDateFormat sdf = new SimpleDateFormat("M/d/yy h:mm a"); local 94 assertTrue("Incorrect date format", sdf.format(current).equals(dtf)); 113 SimpleDateFormat sdf = new SimpleDateFormat("M/d/yy h:mm a"); local 114 assertTrue("Incorrect date format", sdf.format(current).equals(
|
/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;
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 221 SimpleDateFormat sdf = (SimpleDateFormat) natural; local 222 String pattern = sdf.toPattern();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
Clock.java | 143 SimpleDateFormat sdf; local 177 mClockFormat = sdf = new SimpleDateFormat(format); 180 sdf = mClockFormat; 182 String result = sdf.format(mCalendar.getTime());
|
/libcore/luni/src/main/java/libcore/util/ |
ZoneInfo.java | 255 SimpleDateFormat sdf = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy zzz"); local 256 sdf.setTimeZone(tz); 258 return sdf.format(new Date(ms));
|
/libcore/luni/src/test/java/libcore/java/util/ |
TimeZoneTest.java | 60 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); local 61 Date date = sdf.parse("1902-11-01T00:00:00.000+0800"); 68 date = sdf.parse("1902-06-01T00:00:00.000+0800");
|
/external/icu4c/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; 327 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, data.locales[locidx], status); local 342 sdf->setTimeZone(*tz); 389 sdf->format(testTimes[testidx], text, fpos); 391 UDate parsedDate = sdf->parse(text, status) [all...] |
dtfmrgts.cpp | 72 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); local 77 if(sdf == NULL){ 82 pat = sdf->toPattern(pat); 86 fmtd = sdf->format(today, fmtd, pos); 89 sdf->applyPattern("G yyyy DDD"); 91 todayS = sdf->format(today, todayS, pos); 94 today = sdf->parse(todayS, status); 95 failure(status, "sdf->parse"); 103 rt = sdf->format(sdf->parse(todayS, status), rt, pos) 711 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); local 798 SimpleDateFormat *sdf = new SimpleDateFormat(status); local 863 SimpleDateFormat *sdf = new SimpleDateFormat(status); local 1332 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local 1441 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local [all...] |
tzregts.cpp | 148 SimpleDateFormat sdf((UnicodeString)"E d MMM yyyy G HH:mm", status); 153 sdf.setCalendar(cal); 168 sdf.format(cal.getTime(status), str); 185 sdf.format(jan31, str.remove()) + "; transition at " + 186 (trans?sdf.format(trans, str2.remove()):(UnicodeString)"NONE")); 189 sdf.format(mar1, str.remove()) + "; transition at " + 190 (trans?sdf.format(trans, str2.remove()):(UnicodeString)"NONE")); 193 sdf.format(mar31, str.remove()) + "; transition at " + 194 (trans?sdf.format(trans, str2.remove()):(UnicodeString)"NONE")); 398 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"MM/dd/yyyy HH:mm", status); local [all...] |
numrgts.cpp | 1300 DecimalFormat *sdf = new DecimalFormat(UnicodeString("#,##0"), status); local 1989 DecimalFormat *sdf = new DecimalFormat(status); local [all...] |
/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
|
/libcore/luni/src/main/java/java/util/ |
Date.java | 664 SimpleDateFormat sdf = new SimpleDateFormat("d MMM y HH:mm:ss 'GMT'", Locale.US); local 666 sdf.setTimeZone(gmtZone); 669 return sdf.format(this);
|
/frameworks/base/services/java/com/android/server/ |
AlarmManagerService.java | 443 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); local 446 pw.print(sdf.format(new Date(now))); pw.println("):"); [all...] |
/external/libvpx/vp8/encoder/ |
variance.h | 403 vp8_sad_fn_t sdf; member in struct:__anon8502
|
/frameworks/base/services/java/com/android/server/pm/ |
Settings.java | 2422 final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); local [all...] |
/external/icu4c/i18n/ |
dtptngen.cpp | 417 SimpleDateFormat* sdf; local 418 if (df != NULL && (sdf = dynamic_cast<SimpleDateFormat*>(df)) != NULL) { 419 conflictingStatus = addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status); 428 if (df != NULL && (sdf = dynamic_cast<SimpleDateFormat*>(df)) != NULL) { 429 conflictingStatus = addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status); [all...] |
smpdtfmt.cpp | 1323 SimpleDateFormat *sdf = (SimpleDateFormat*)this->clone(); local [all...] |