HomeSort by relevance Sort by last modified time
    Searched defs:sdf (Results 26 - 50 of 70) sorted by null

12 3

  /packages/apps/Messaging/src/com/android/messaging/util/
LogSaver.java 251 final SimpleDateFormat sdf = new SimpleDateFormat("MM-dd HH:mm:ss.SSS"); local
253 sdf.format(System.currentTimeMillis()),
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
TimeZoneFormatTest.java 140 SimpleDateFormat sdf = new SimpleDateFormat(PATTERNS[patidx], LOCALES[locidx]); local
150 sdf.setTimeZone(tz);
151 String tzstr = sdf.format(DATES[datidx]);
156 sdf.setTimeZone(unknownZone);
164 sdf.parse(tzstr, outcal, pos);
367 SimpleDateFormat sdf = new SimpleDateFormat(pattern, LOCALES[locidx]); local
412 sdf.setTimeZone(tz);
452 String text = sdf.format(new Date(testTimes[testidx]));
454 Date parsedDate = sdf.parse(text);
753 SimpleDateFormat sdf = new SimpleDateFormat(); local
    [all...]
DateFormatRegressionTest.java 54 SimpleDateFormat sdf = (SimpleDateFormat) DateFormat.getDateInstance(); local
55 String pat = sdf.toPattern();
59 fmtd = sdf.format(today, fmtd, pos);
62 sdf.applyPattern("G yyyy DDD");
64 todayS = sdf.format(today, todayS, pos);
67 today = sdf.parse(todayS.toString());
75 rt = sdf.format(sdf.parse(todayS.toString()), rt, pos);
485 SimpleDateFormat sdf = new SimpleDateFormat("z", Locale.US); local
489 sdf.format(d, buf, fp)
546 SimpleDateFormat sdf = new SimpleDateFormat(); local
580 SimpleDateFormat sdf = new SimpleDateFormat(); local
    [all...]
DateFormatTest.java 177 SimpleDateFormat sdf = new SimpleDateFormat("zzzz"); local
222 sdf.setTimeZone(ttz);
230 fmtOffset = sdf.format(today, fmtOffset, pos);
640 for (SimpleDateFormat sdf : formats) {
641 sdf.setTimeZoneFormat(tzfmt);
1705 SimpleDateFormat sdf = (SimpleDateFormat)DateFormat.getDateInstance(); local
3349 SimpleDateFormat sdf = new SimpleDateFormat(patterns[i]); local
3795 SimpleDateFormat sdf = new SimpleDateFormat("", "", null); local
3927 SimpleDateFormat sdf = new SimpleDateFormat(pattern,override,ULocale.CHINA); local
4043 SimpleDateFormat sdf = new SimpleDateFormat(data.pattern); local
    [all...]
DateTimeGeneratorTest.java 234 SimpleDateFormat sdf = new SimpleDateFormat(pattern, uLocale); local
235 String formatted = sdf.format(date);
237 //logln(uLocale + "\t" + testSkeleton + "\t" + pattern + "\t" + sdf.format(date));
243 SimpleDateFormat sdf = new SimpleDateFormat(pattern, uLocale); local
244 String formatted = sdf.format(date);
251 sdf = new SimpleDateFormat(pattern, uLocale);
252 formatted = sdf.format(date);
255 //logln(uLocale + "\t" + testSkeleton + "\t" + pattern + "\t" + sdf.format(date));
    [all...]
NumberRegression.java 764 DecimalFormat sdf = new DecimalFormat("#,##0"); local
765 if (sdf.getMinimumIntegerDigits() != 1)
766 errln("Minimum integer digits : " + sdf.getMinimumIntegerDigits());
1197 DecimalFormat sdf = new DecimalFormat(); local
    [all...]
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 221 SimpleDateFormat sdf = new SimpleDateFormat(pattern); local
222 sdf.setTimeZone(utc);
231 assertEquals(expected, sdf.format(c.getTime()));
  /external/icu/icu4c/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
  /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/text/
OldDateFormatTest.java 95 SimpleDateFormat sdf = new SimpleDateFormat("M/d/yy h:mm a", Locale.US); local
96 assertTrue("Incorrect date format", sdf.format(current).equals(dtf));
117 SimpleDateFormat sdf = new SimpleDateFormat("M/d/yy h:mm a", Locale.US); local
118 assertTrue("Incorrect date format", sdf.format(current).equals(
  /libcore/luni/src/test/java/libcore/java/util/
TimeZoneTest.java 63 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); local
64 Date date = sdf.parse("1902-11-01T00:00:00.000+0800");
71 date = sdf.parse("1902-06-01T00:00:00.000+0800");
103 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); local
104 Date date = sdf.parse(isoTime);
  /libcore/luni/src/main/java/java/util/
Date.java 675 SimpleDateFormat sdf = new SimpleDateFormat("d MMM y HH:mm:ss 'GMT'", Locale.US); local
677 sdf.setTimeZone(gmtZone);
680 return sdf.format(this);
  /frameworks/base/services/core/java/com/android/server/am/
BroadcastQueue.java 1403 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); local
    [all...]
  /external/icu/icu4c/source/test/intltest/
dtfmrgts.cpp 77 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); local
82 if(sdf == NULL){
87 pat = sdf->toPattern(pat);
92 fmtd = sdf->format(today, fmtd, pos);
95 sdf->applyPattern("G yyyy DDD");
97 todayS = sdf->format(today, todayS, pos);
100 today = sdf->parse(todayS, status);
101 failure(status, "sdf->parse");
109 rt = sdf->format(sdf->parse(todayS, status), rt, pos)
717 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); local
804 SimpleDateFormat *sdf = new SimpleDateFormat(status); local
869 SimpleDateFormat *sdf = new SimpleDateFormat(status); local
1338 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local
1447 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local
    [all...]
tzfmttst.cpp 166 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status); local
183 sdf->setTimeZone(*tz);
184 sdf->format(DATES[datidx], tzstr, fpos);
189 sdf->setTimeZone(unknownZone);
202 sdf->parse(tzstr, *outcal, pos);
331 delete sdf;
461 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, data.locales[locidx], status); local
501 sdf->setTimeZone(*tz);
552 sdf->format(testTimes[testidx], text, fpos);
554 UDate parsedDate = sdf->parse(text, status)
    [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 1305 DecimalFormat *sdf = new DecimalFormat(UnicodeString("#,##0"), status); local
1994 DecimalFormat *sdf = new DecimalFormat(status); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/security/cert/
X509CRLTest.java 125 final SimpleDateFormat sdf = new SimpleDateFormat("MMM dd HH:mm:ss yyyy zzz", Locale.US); local
136 final Date value = sdf.parse(line.substring(index + 1));
X509CertificateTest.java 173 final SimpleDateFormat sdf = local
180 final Date startDate = sdf.parse(line.substring(index + 1));
185 final Date endDate = sdf.parse(line.substring(index + 1));
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/beam/
BeamTransferManager.java 526 SimpleDateFormat sdf = new SimpleDateFormat(format, Locale.US); local
527 String newPath = beamRoot + "beam-" + sdf.format(new Date());
531 newPath = beamRoot + "beam-" + sdf.format(new Date()) + "-" +
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
TimeZoneRegression.java 257 SimpleDateFormat sdf = new SimpleDateFormat("MM/dd/yyyy HH:mm"); local
258 sdf.setCalendar(testCal);
274 String output = testTZ.getID() + " " + sdf.format(testDate) +
703 SimpleDateFormat sdf = new SimpleDateFormat("MMM dd yyyy HH:mm z"); local
735 sdf.setTimeZone(tz);
749 logln("" + i + ": " + sdf.format(d) + " => " + zone[i] +
    [all...]
  /frameworks/base/services/core/java/com/android/server/
AlarmManagerService.java 1187 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); local
1452 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); local
    [all...]
  /external/icu/icu4c/source/i18n/
dtptngen.cpp 470 SimpleDateFormat* sdf; local
471 if (df != NULL && (sdf = dynamic_cast<SimpleDateFormat*>(df)) != NULL) {
472 addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status);
481 if (df != NULL && (sdf = dynamic_cast<SimpleDateFormat*>(df)) != NULL) {
482 addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status);
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
IBMCalendarTest.java 708 SimpleDateFormat sdf = new SimpleDateFormat(pattern); local
709 sdf.setCalendar(cal);
742 ms2 = sdf.parse(test.data);
756 String result = sdf.format(ms);
768 ms3 = sdf.parse(result);
    [all...]
  /external/svox/pico/lib/
picoos.c 1516 picoos_sd_file_t * sdf = NULL; local
1578 picoos_sd_file_t * sdf = sdFile; local
1726 picoos_sd_file_t * sdf = NULL; local
    [all...]

Completed in 809 milliseconds

12 3