/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
Clock.java | 154 SimpleDateFormat sdf; local 187 mClockFormat = sdf = new SimpleDateFormat(format); 190 sdf = mClockFormat; 192 String result = sdf.format(mCalendar.getTime());
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
Utils.java | 504 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); local 505 dateDisplay.setText(sdf.format(now)); 508 sdf = new SimpleDateFormat(fmt, l); 509 dateDisplay.setContentDescription(sdf.format(now));
|
/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/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/core/java/android/text/format/ |
DateFormat.java | 198 SimpleDateFormat sdf = (SimpleDateFormat) natural; local 199 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/text/ |
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(
|
/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"); 97 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ"); local 98 Date date = sdf.parse(isoTime);
|
/libcore/luni/src/main/java/java/util/ |
Date.java | 672 SimpleDateFormat sdf = new SimpleDateFormat("d MMM y HH:mm:ss 'GMT'", Locale.US); local 674 sdf.setTimeZone(gmtZone); 677 return sdf.format(this);
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
dtfmrgts.cpp | 74 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); local 79 if(sdf == NULL){ 84 pat = sdf->toPattern(pat); 88 fmtd = sdf->format(today, fmtd, pos); 91 sdf->applyPattern("G yyyy DDD"); 93 todayS = sdf->format(today, todayS, pos); 96 today = sdf->parse(todayS, status); 97 failure(status, "sdf->parse"); 105 rt = sdf->format(sdf->parse(todayS, status), rt, pos) 713 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); local 800 SimpleDateFormat *sdf = new SimpleDateFormat(status); local 865 SimpleDateFormat *sdf = new SimpleDateFormat(status); local 1334 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local 1443 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local [all...] |
tzfmttst.cpp | 165 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status); local 182 sdf->setTimeZone(*tz); 183 sdf->format(DATES[datidx], tzstr, fpos); 188 sdf->setTimeZone(unknownZone); 201 sdf->parse(tzstr, *outcal, pos); 330 delete sdf; 426 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, data.locales[locidx], status); local 461 sdf->setTimeZone(*tz); 512 sdf->format(testTimes[testidx], text, fpos); 514 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...] |
/external/icu/icu4c/source/test/intltest/ |
dtfmrgts.cpp | 76 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); local 81 if(sdf == NULL){ 86 pat = sdf->toPattern(pat); 91 fmtd = sdf->format(today, fmtd, pos); 94 sdf->applyPattern("G yyyy DDD"); 96 todayS = sdf->format(today, todayS, pos); 99 today = sdf->parse(todayS, status); 100 failure(status, "sdf->parse"); 108 rt = sdf->format(sdf->parse(todayS, status), rt, pos) 716 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); local 803 SimpleDateFormat *sdf = new SimpleDateFormat(status); local 868 SimpleDateFormat *sdf = new SimpleDateFormat(status); local 1337 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local 1446 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local [all...] |
tzfmttst.cpp | 165 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status); local 182 sdf->setTimeZone(*tz); 183 sdf->format(DATES[datidx], tzstr, fpos); 188 sdf->setTimeZone(unknownZone); 201 sdf->parse(tzstr, *outcal, pos); 330 delete sdf; 426 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, data.locales[locidx], status); local 461 sdf->setTimeZone(*tz); 512 sdf->format(testTimes[testidx], text, fpos); 514 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()) + "-" +
|
/frameworks/base/services/core/java/com/android/server/ |
AlarmManagerService.java | 876 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); local 1077 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); local [all...] |
MountService.java | 3125 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); local [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
dtptngen.cpp | 428 SimpleDateFormat* sdf; local 429 if (df != NULL && (sdf = dynamic_cast<SimpleDateFormat*>(df)) != NULL) { 430 addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status); 439 if (df != NULL && (sdf = dynamic_cast<SimpleDateFormat*>(df)) != NULL) { 440 addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status); [all...] |
/external/icu/icu4c/source/i18n/ |
dtptngen.cpp | 429 SimpleDateFormat* sdf; local 430 if (df != NULL && (sdf = dynamic_cast<SimpleDateFormat*>(df)) != NULL) { 431 addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status); 440 if (df != NULL && (sdf = dynamic_cast<SimpleDateFormat*>(df)) != NULL) { 441 addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status); [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
Settings.java | 3525 final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); local [all...] |