Searched refs:dtf (Results 1 – 13 of 13) sorted by relevance
36 var dtf = new Intl.DateTimeFormat(['en'], {timeZone: 'America/Los_Angeles'}); variable39 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 …]
30 var dtf = new Intl.DateTimeFormat(['en'], variable37 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'));
31 var dtf = new Intl.DateTimeFormat(['en'], variable37 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'));
30 var dtf = new Intl.DateTimeFormat(['en']); variable32 assertEquals(undefined, dtf.v8Parse(''));33 assertEquals(undefined, dtf.v8Parse('A'));34 assertEquals(undefined, dtf.v8Parse(5));35 assertEquals(undefined, dtf.v8Parse(new Date()));
30 var dtf = new Intl.DateTimeFormat('en-US', {timeZone: 'UTC'}); variable32 var someDate = dtf.format(144313200000);39 dtf.format(value);50 assertEquals('11/11/1500', dtf.format(new Date(1500,10,11,12,0,0)));
29 var dtf = new Intl.DateTimeFormat(); variable36 dateArray.forEach(dtf.format);39 dtf.format();
30 var dtf = Intl.DateTimeFormat(['xx']); variable32 assertEquals(dtf.resolvedOptions().locale, %GetDefaultICULocale());
31 var dtf = new Intl.DateTimeFormat(); variable33 var result = dtf.resolvedOptions();
31 var dtf = new Intl.DateTimeFormat([]); variable33 var options = dtf.resolvedOptions();
62 var dtf = new Intl.DateTimeFormat(locale, options); variable63 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));
582 SimpleDateFormat dtf = new SimpleDateFormat("vvvv",locale); in getDisplayName() local583 dtf.setTimeZone(TimeZone.getFrozenTimeZone(id)); in getDisplayName()584 result = dtf.format(new Date()); in getDisplayName()
607 SimpleDateFormat dtf = new SimpleDateFormat("vvvv",locale); in getDisplayName() local608 dtf.setTimeZone(TimeZone.getFrozenTimeZone(id)); in getDisplayName()609 result = dtf.format(new Date()); in getDisplayName()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...