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

  /external/chromium/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;
dtfmrgts.cpp 72 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance();
78 dataerrln("Error calling DateFormat::createDateTimeInstance");
123 DateFormat *fmt = DateFormat::createDateTimeInstance(DateFormat::SHORT,
124 DateFormat::SHORT, Locale::getUS());
126 dataerrln("Error calling DateFormat::createDateTimeInstance");
160 //expected.put(new LongKey(DateFormat.MONTH_FIELD), "5");
161 //expected.put(new LongKey(DateFormat.DATE_FIELD), "3");
162 //expected.put(new LongKey(DateFormat.YEAR_FIELD), "97")
    [all...]
  /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 72 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance();
78 dataerrln("Error calling DateFormat::createDateTimeInstance");
123 DateFormat *fmt = DateFormat::createDateTimeInstance(DateFormat::SHORT,
124 DateFormat::SHORT, Locale::getUS());
126 dataerrln("Error calling DateFormat::createDateTimeInstance");
160 //expected.put(new LongKey(DateFormat.MONTH_FIELD), "5");
161 //expected.put(new LongKey(DateFormat.DATE_FIELD), "3");
162 //expected.put(new LongKey(DateFormat.YEAR_FIELD), "97")
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
OldSimpleDateFormatTest.java 19 import java.text.DateFormat;
206 SimpleDateFormat format = (SimpleDateFormat) DateFormat.getInstance();
224 test.test(" G", cal, " AD", DateFormat.ERA_FIELD);
225 test.test(" GG", cal, " AD", DateFormat.ERA_FIELD);
226 test.test(" GGG", cal, " AD", DateFormat.ERA_FIELD);
228 DateFormat.ERA_FIELD);
230 test.test(" M", cal, " 6", DateFormat.MONTH_FIELD);
232 " 11", DateFormat.MONTH_FIELD);
233 test.test(" MM", cal, " 06", DateFormat.MONTH_FIELD);
234 test.test(" MMM", cal, " Jun", DateFormat.MONTH_FIELD)
    [all...]
  /external/webkit/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/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");
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 28 import android.text.format.DateFormat;
36 @TestTargetClass(DateFormat.class)
58 mIs24HourFormat = DateFormat.is24HourFormat(mContext);
84 assertTrue(DateFormat.is24HourFormat(mContext));
86 assertFalse(DateFormat.is24HourFormat(mContext));
137 java.text.DateFormat dateFormat = DateFormat.getDateFormat(mContext);
138 assertNotNull(dateFormat);
140 String source = dateFormat.format(date)
    [all...]
  /cts/tools/host/src/com/android/cts/
HostUtils.java 50 private static SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy",
315 return dateFormat.parse(s);
319 return dateFormat.format(d);
  /libcore/luni/src/test/java/com/google/coretests/
XmlReportPrinter.java 126 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
128 dateFormat.setTimeZone(gmt);
129 dateFormat.setLenient(true);
130 String timestamp = dateFormat.format(new Date());
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
CtsXmlResultReporter.java 558 SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy");
559 return dateFormat.format(new Date());
568 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd_HH.mm.ss");
569 return dateFormat.format(new Date());
  /libcore/luni/src/main/java/java/text/
DateFormat.java 37 * DateFormat provides many class methods for obtaining default date/time
43 * {@code DateFormat} helps you to format and parse dates for any locale. Your
52 * myString = DateFormat.getDateInstance().format(myDate);
63 * DateFormat df = DateFormat.getDateInstance();
76 * DateFormat df = DateFormat.getDateInstance(DateFormat.LONG, Locale.FRANCE);
81 * {@code DateFormat} can also be used to parse strings:
105 * over the formatting or parsing, try casting the {@code DateFormat} you ge
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/
ImportVCardActivity.java 63 import java.text.DateFormat;
725 DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
736 "(" + dateFormat.format(new Date(vcardFile.getLastModified())) + ")");
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/ui/
EditContactActivity.java     [all...]
  /packages/apps/Camera/src/com/android/camera/
VideoCamera.java 248 SimpleDateFormat dateFormat = new SimpleDateFormat(
251 return dateFormat.format(date);
    [all...]
Camera.java     [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsProvider2.java     [all...]
  /prebuilt/common/jfreechart/
jfreechart-1.0.9.jar 
  /prebuilt/common/tradefed/
tradefed-prebuilt.jar 
  /prebuilt/common/ecj/
ecj.jar 

Completed in 617 milliseconds