HomeSort by relevance Sort by last modified time
    Searched defs:dateFormat (Results 1 - 25 of 54) sorted by null

1 2 3

  /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/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;
dtfmrgts.cpp 74 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance();
80 dataerrln("Error calling DateFormat::createDateTimeInstance");
125 DateFormat *fmt = DateFormat::createDateTimeInstance(DateFormat::SHORT,
126 DateFormat::SHORT, Locale::getUS());
128 dataerrln("Error calling DateFormat::createDateTimeInstance");
162 //expected.put(new LongKey(DateFormat.MONTH_FIELD), "5");
163 //expected.put(new LongKey(DateFormat.DATE_FIELD), "3");
164 //expected.put(new LongKey(DateFormat.YEAR_FIELD), "97")
    [all...]
  /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/Gallery2/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());
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoUtil.java 25 SimpleDateFormat dateFormat = new SimpleDateFormat(format);
26 return dateFormat.format(date);
  /packages/apps/Browser/src/com/android/browser/
SnapshotBar.java 36 import java.text.DateFormat;
189 DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.LONG);
190 mDate.setText(dateFormat.format(new Date(snapshot.getDateCreated())));
BrowserSnapshotPage.java 52 import java.text.DateFormat;
289 DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.SHORT);
290 date.setText(dateFormat.format(new Date(timestamp)));
  /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/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/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");
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DateView.java 94 final String dateFormat = getContext().getString(R.string.system_ui_date_pattern);
96 String fmt = ICU.getBestDateTimePattern(dateFormat, l.toString());
  /packages/apps/Contacts/src/com/android/contacts/util/
ContactPhotoUtils.java 73 SimpleDateFormat dateFormat = new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US);
74 return "ContactPhoto-" + dateFormat.format(date) + ".jpg";
  /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...]
  /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...]
  /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) +
  /libcore/luni/src/main/java/java/text/
DateFormat.java 38 * DateFormat[] formats = new DateFormat[] {
39 * DateFormat.getDateInstance(),
40 * DateFormat.getDateTimeInstance(),
41 * DateFormat.getTimeInstance(),
43 * for (DateFormat df : formats) {
64 public abstract class DateFormat extends Format {
69 * The calendar that this {@code DateFormat} uses to format a number
219 * Constructs a new instance of {@code DateFormat}.
221 protected DateFormat() {
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/
Util.java 465 SimpleDateFormat dateFormat = new SimpleDateFormat("KK:mm:ss"); //$NON-NLS-1$
466 return dateFormat.format(date);
  /frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
Summarizer.java 329 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
331 txt.append("Date: " + dateFormat.format(mDate) + "\n");
405 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
408 html.append("<h3>" + "Date: " + dateFormat.format(new Date()) + "</h3>");
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
ImportVCardActivity.java 69 import java.text.DateFormat;
    [all...]

Completed in 2993 milliseconds

1 2 3