Home
last modified time | relevance | path

Searched refs:dtf (Results 1 – 13 of 13) sorted by relevance

/external/v8/test/intl/date-format/
Dparse-mdy.js36 var dtf = new Intl.DateTimeFormat(['en'], {timeZone: 'America/Los_Angeles'}); variable
39 assertEquals('M/d/y', dtf.resolved.pattern);
41 checkDate(dtf.v8Parse('2/4/74'));
42 checkDate(dtf.v8Parse('02/04/74'));
43 checkDate(dtf.v8Parse('2/04/74'));
44 checkDate(dtf.v8Parse('02/4/74'));
45 checkDate(dtf.v8Parse('2/4/1974'));
46 checkDate(dtf.v8Parse('02/4/1974'));
47 checkDate(dtf.v8Parse('2/04/1974'));
48 checkDate(dtf.v8Parse('02/04/1974'));
[all …]
Dparse-mdyhms.js30 var dtf = new Intl.DateTimeFormat(['en'], variable
37 assertEquals('M/d/y h:mm:ss a', dtf.resolved.pattern);
39 var date = dtf.v8Parse('2/4/74 12:30:42 pm');
48 assertEquals(undefined, dtf.v8Parse('2/4/74 12:30:12'));
51 assertEquals(undefined, dtf.v8Parse('2/4/74'));
54 assertEquals(undefined, dtf.v8Parse('Feb 4th 1974'));
57 assertEquals(undefined, dtf.v8Parse('2-4-74 12:30:12 am'));
Dparse-MMMdy.js31 var dtf = new Intl.DateTimeFormat(['en'], variable
37 assertEquals('MMM d, y', dtf.resolved.pattern);
39 var date = dtf.v8Parse('Feb 4, 1974');
45 assertEquals(undefined, dtf.v8Parse('Feb 4 1974'));
48 assertEquals(undefined, dtf.v8Parse('Feb 4th, 1974'));
51 assertEquals(undefined, dtf.v8Parse('2/4/1974'));
Dparse-invalid-input.js30 var dtf = new Intl.DateTimeFormat(['en']); variable
32 assertEquals(undefined, dtf.v8Parse(''));
33 assertEquals(undefined, dtf.v8Parse('A'));
34 assertEquals(undefined, dtf.v8Parse(5));
35 assertEquals(undefined, dtf.v8Parse(new Date()));
Dformat-test.js30 var dtf = new Intl.DateTimeFormat('en-US', {timeZone: 'UTC'}); variable
32 var someDate = dtf.format(144313200000);
39 dtf.format(value);
50 assertEquals('11/11/1500', dtf.format(new Date(1500,10,11,12,0,0)));
Dformat-is-bound.js29 var dtf = new Intl.DateTimeFormat(); variable
36 dateArray.forEach(dtf.format);
39 dtf.format();
Dwellformed-unsupported-locale.js30 var dtf = Intl.DateTimeFormat(['xx']); variable
32 assertEquals(dtf.resolvedOptions().locale, %GetDefaultICULocale());
Dresolved-options-is-method.js31 var dtf = new Intl.DateTimeFormat(); variable
33 var result = dtf.resolvedOptions();
Ddefault-locale.js31 var dtf = new Intl.DateTimeFormat([]); variable
33 var options = dtf.resolvedOptions();
/external/v8/test/intl/overrides/
Ddate.js62 var dtf = new Intl.DateTimeFormat(locale, options); variable
63 assertEquals(dtf.format(date), date.toLocaleString(locale, options));
64 assertEquals(dtf.format(date), date.toLocaleDateString(locale, options));
65 assertEquals(dtf.format(date), date.toLocaleTimeString(locale, options));
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGlobalizationPreferences.java582 SimpleDateFormat dtf = new SimpleDateFormat("vvvv",locale); in getDisplayName() local
583 dtf.setTimeZone(TimeZone.getFrozenTimeZone(id)); in getDisplayName()
584 result = dtf.format(new Date()); in getDisplayName()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/util/
DGlobalizationPreferences.java607 SimpleDateFormat dtf = new SimpleDateFormat("vvvv",locale); in getDisplayName() local
608 dtf.setTimeZone(TimeZone.getFrozenTimeZone(id)); in getDisplayName()
609 result = dtf.format(new Date()); in getDisplayName()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...