/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TimeUtil.java | 67 SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy"); 68 return dateFormat.format(new Date(time)); 77 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd_HH.mm.ss"); 78 return dateFormat.format(new Date());
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
dtfmtrtts.h | 21 * Performs round-trip tests for DateFormat 35 void test(DateFormat *fmt, const Locale &origLocale, UBool timeOnly = FALSE ); 88 SimpleDateFormat *dateFormat;
|
/external/icu4c/test/intltest/ |
dtfmtrtts.h | 21 * Performs round-trip tests for DateFormat 35 void test(DateFormat *fmt, const Locale &origLocale, UBool timeOnly = FALSE ); 88 SimpleDateFormat *dateFormat;
|
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
QueueDetails.java | 51 private SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT);
128 buf.append(dateFormat.format(timestamp));
146 SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT);
177 joinTime = dateFormat.parse(parser.nextText());
180 Date wait = dateFormat.parse(parser.nextText());
|
QueueOverview.java | 43 private SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT);
105 buf.append("<oldest>").append(dateFormat.format(oldestEntry)).append("</oldest>");
123 SimpleDateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT);
140 queueOverview.setOldestEntry((dateFormat.parse(parser.nextText())));
|
/packages/apps/Camera/src/com/android/camera/ |
PanoUtil.java | 25 SimpleDateFormat dateFormat = new SimpleDateFormat(format); 26 return dateFormat.format(date);
|
/packages/apps/Camera2/src/com/android/camera/ |
PanoUtil.java | 25 SimpleDateFormat dateFormat = new SimpleDateFormat(format); 26 return dateFormat.format(date);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportExporter.java | 93 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd-HH.mm.ss", Locale.ENGLISH); 94 String date = dateFormat.format(new Date());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DateView.java | 91 final String dateFormat = getContext().getString(R.string.system_ui_date_pattern); 93 final String fmt = ICU.getBestDateTimePattern(dateFormat, l.toString());
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoUtil.java | 25 SimpleDateFormat dateFormat = new SimpleDateFormat(format); 26 return dateFormat.format(date);
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
DatePickerDialog.java | 37 import java.text.DateFormat; 59 private final DateFormat mTitleDateFormat; 60 private final DateFormat mTitleNoYearDateFormat; 159 mTitleDateFormat = DateFormat.getDateInstance(DateFormat.FULL); 215 final DateFormat dateFormat = 217 setTitle(dateFormat.format(calendar.getTime()));
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
date-format-xparb.js | 18 Date.prototype.dateFormat = function(format) { 414 var shortFormat = date.dateFormat("Y-m-d"); 415 var longFormat = date.dateFormat("l, F d, Y g:i:s A");
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
date-format-xparb.js | 18 Date.prototype.dateFormat = function(format) { 414 var shortFormat = date.dateFormat("Y-m-d"); 415 var longFormat = date.dateFormat("l, F d, Y g:i:s A");
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
date-format-xparb.js | 18 Date.prototype.dateFormat = function(format) { 414 var shortFormat = date.dateFormat("Y-m-d"); 415 var longFormat = date.dateFormat("l, F d, Y g:i:s A");
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldSimpleDateFormatTest.java | 19 import java.text.DateFormat; 218 SimpleDateFormat format = (SimpleDateFormat) DateFormat.getInstance(); 236 test.test(" G", cal, " AD", DateFormat.ERA_FIELD); 237 test.test(" GG", cal, " AD", DateFormat.ERA_FIELD); 238 test.test(" GGG", cal, " AD", DateFormat.ERA_FIELD); 240 DateFormat.ERA_FIELD); 242 test.test(" M", cal, " 6", DateFormat.MONTH_FIELD); 244 " 11", DateFormat.MONTH_FIELD); 245 test.test(" MM", cal, " 06", DateFormat.MONTH_FIELD); 246 test.test(" MMM", cal, " Jun", DateFormat.MONTH_FIELD) [all...] |
SimpleDateFormatTest.java | 19 import java.text.DateFormat; 195 DateFormat dateFormat = new SimpleDateFormat(fmt, l); 196 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); 197 return dateFormat.format(new Date(0));
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
SimpleDateFormatTest.java | 19 import java.text.DateFormat; 113 assertTrue("Wrong default", f2.equals(DateFormat.getDateTimeInstance( 114 DateFormat.SHORT, DateFormat.SHORT, Locale.getDefault()))); 292 SimpleDateFormat format = (SimpleDateFormat) DateFormat.getInstance(); 342 test.test(" G", cal, " AD", DateFormat.ERA_FIELD); 343 test.test(" GG", cal, " AD", DateFormat.ERA_FIELD); 344 test.test(" GGG", cal, " AD", DateFormat.ERA_FIELD); 346 DateFormat.ERA_FIELD); 348 test.test(" y", cal, " 99", DateFormat.YEAR_FIELD) [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserSnapshotPage.java | 52 import java.text.DateFormat; 289 DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.SHORT); 290 date.setText(dateFormat.format(new Date(timestamp)));
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
QuotedTextView.java | 37 import java.text.DateFormat; 252 DateFormat dateFormat = DateFormat.getDateTimeInstance(DateFormat.MEDIUM, DateFormat.SHORT); 260 dateFormat.format(date), 273 true /* remove empty quotes */), dateFormat.format(date), Utils
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
SensorCtsHelper.java | 169 SimpleDateFormat dateFormat = new SimpleDateFormat("M-d-y_H:m:s.S"); 174 dateFormat.format(new Date()));
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 24 import android.text.format.DateFormat; 56 mIs24HourFormat = DateFormat.is24HourFormat(mContext); 77 assertTrue(DateFormat.is24HourFormat(mContext)); 79 assertFalse(DateFormat.is24HourFormat(mContext)); 84 assertEquals("D", DateFormat.format("MMMMM", c)); 85 assertEquals("December", DateFormat.format("MMMM", c)); 86 assertEquals("Dec", DateFormat.format("MMM", c)); 87 assertEquals("12", DateFormat.format("MM", c)); 88 assertEquals("12", DateFormat.format("M", c)); 94 assertEquals("D", DateFormat.format("LLLLL", c)) [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
CertificateViewer.java | 11 import android.text.format.DateFormat; 146 java.text.DateFormat dateFormat = DateFormat.getDateFormat(mContext); 148 dateFormat.format(sslCert.getValidNotBeforeDate())); 150 dateFormat.format(sslCert.getValidNotAfterDate()));
|
/external/chromium_org/third_party/WebKit/Source/core/platform/text/ |
LocaleICU.cpp | 154 static String getDateFormatPattern(const UDateFormat* dateFormat) 156 if (!dateFormat) 160 int32_t length = udat_toPattern(dateFormat, TRUE, 0, 0, &status); 165 udat_toPattern(dateFormat, TRUE, buffer.characters(), length, &status); 171 PassOwnPtr<Vector<String> > LocaleICU::createLabelVector(const UDateFormat* dateFormat, UDateFormatSymbolType type, int32_t startIndex, int32_t size) 173 if (!dateFormat) 175 if (udat_countSymbols(dateFormat, type) != startIndex + size) 182 int32_t length = udat_getSymbols(dateFormat, type, startIndex + i, 0, 0, &status); 187 udat_getSymbols(dateFormat, type, startIndex + i, buffer.characters(), length, &status); 309 String LocaleICU::dateFormat() [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
VideoEditorHelper.java | 430 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmssS"); 432 final String filePath = location + dateFormat.format(date) +
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
ContactPhotoUtils.java | 79 SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US); 80 return "ContactPhoto-" + dateFormat.format(date) + ".jpg"; 85 SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US); 86 return "ContactPhoto-" + dateFormat.format(date) + "-cropped.jpg";
|