HomeSort by relevance Sort by last modified time
    Searched refs:date (Results 176 - 200 of 783) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
date-format-tofte.js 8 Date.prototype.formatDate = function (input,time) {
10 // a PHP date like function, for formatting date strings
11 // See: http://www.php.net/date
17 // the current "this" date object's set time.
158 // RFC 822 formatted date
201 var ny = new Date("January 1 " + Y() + " 00:00:00");
210 // of the previous year, as the date, and then just
212 var prevNY = new Date("December 31 " + (Y()-1) + " 00:00:00");
238 var newDate = new Date("January 1 2001 00:00:00 +0000")
    [all...]
  /external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
date-format-tofte.js 8 Date.prototype.formatDate = function (input,time) {
10 // a PHP date like function, for formatting date strings
11 // See: http://www.php.net/date
17 // the current "this" date object's set time.
158 // RFC 822 formatted date
201 var ny = new Date("January 1 " + Y() + " 00:00:00");
210 // of the previous year, as the date, and then just
212 var prevNY = new Date("December 31 " + (Y()-1) + " 00:00:00");
238 var newDate = new Date("January 1 2001 00:00:00 +0000")
    [all...]
  /frameworks/opt/calendar/src/com/android/calendarcommon2/
RecurrenceProcessor.java 111 // last "until" date or "rdate".
621 * value. Returns an array of longs where each element is a date in UTC
632 * @return an array of dates, each date is in UTC milliseconds
645 // do so) because the "until" date string is specified in UTC and that
714 * strings containing the start date/times of the occurrences; the output
721 * @param dtstart the dtstart date as defined in RFC2445. This
724 * @param rangeStartDateValue the first date-time you care about, inclusive
725 * @param rangeEndDateValue the last date-time you care about, not inclusive (so
836 // Ensure that the "until" date string is specified in UTC.
838 // 15 is length of date-time without trailing Z e.g. "20090204T075959
    [all...]
  /packages/apps/Email/src/com/android/email/activity/
MessageListItemCoordinates.java 86 // Date.
301 TextView date = (TextView) view.findViewById(R.id.date); local
302 coordinates.dateXEnd = getX(date) + date.getWidth();
303 coordinates.dateY = getY(date);
304 coordinates.dateFontSize = (int) date.getTextSize();
305 coordinates.dateAscent = Math.round(date.getPaint().ascent());
307 // The x-value is computed relative to the date.
  /system/core/toolbox/
ls.c 167 char date[32]; local
194 strftime(date, 32, "%Y-%m-%d %H:%M", localtime((const time_t*)&s.st_mtime));
195 date[31] = 0;
206 date, name);
210 mode, user, group, s.st_size, date, name);
229 mode, user, group, date, name, linkto);
234 mode, user, group, date, name);
  /frameworks/opt/telephony/src/java/android/provider/
Telephony.java 89 * The date the message was received
92 public static final String DATE = "date";
95 * The date the message was sent
201 public static final String DEFAULT_SORT_ORDER = "date DESC";
211 * @param date the timestamp for the message
218 Long date, boolean read, boolean deliveryReport) {
220 date, read, deliveryReport, -1L);
231 * @param date the timestamp for the message
239 Long date, boolean read, boolean deliveryReport, long threadId)
    [all...]
  /external/icu4c/test/intltest/
dtfmtrtts.cpp 98 UDate date[] = {-55018555891590.05, 0, 0}; local
101 fmt.format(date[0], result[0]);
102 date[1] = fmt.parse(result[0], status);
103 fmt.format(date[1], result[1]);
104 date[2] = fmt.parse(result[1], status);
106 /* This test case worked OK by accident before. date[1] != date[0],
108 * (date[0] is in year 1926, date[1] is in year 2026.) result[1] set
111 * America/Los_Angeles. When this is parsed, date[1] becomes a tim
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/
TimeZoneTest.java 21 import java.util.Date;
44 stz.inDaylightTime(new Date());
63 Date date = sdf.parse("1902-11-01T00:00:00.000+0800"); local
64 assertEquals(-2119680000000L, date.getTime());
65 assertEquals(-28800000, tz.getOffset(date.getTime()));
66 assertFalse(tz.inDaylightTime(date));
67 assertEquals("Fri Oct 31 08:00:00 PST 1902", date.toString());
68 assertEquals("31 Oct 1902 16:00:00 GMT", date.toGMTString());
70 date = sdf.parse("1902-06-01T00:00:00.000+0800")
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
GregorianCalendarTest.java 22 import java.util.Date;
115 Date date = new Date(); local
117 gcJapan.setTime(date);
119 gcJapan2.setTime(date);
121 gcItaly.setTime(date);
131 Date date = new Date(2008,1,1) local
170 Date date = new Date(2008,1,1); local
321 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); local
438 Date date = new Date(Date.parse("Jan 1 00:00:01 GMT 2000")); local
728 Date date = new Date(Date.parse("Jan 15 00:00:01 GMT 2000")); local
    [all...]
  /external/icu4c/i18n/
indiancal.cpp 136 * Returns the Julian Day corresponding to gregorian date
140 * @param date The date in Gregorian day in month
142 static double gregorianToJD(int32_t year, int32_t month, int32_t date) {
152 date);
158 * Returns the Gregorian Date corresponding to a given Julian Day
196 static double IndianToJD(int32_t year, int32_t month, int32_t date) {
213 jd = start + (date - 1);
229 jd += date - 1;
294 int32_t gregorianYear; // Stores gregorian date corresponding to Julian day
    [all...]
  /external/v8/test/mjsunit/
to_number_order.js 61 var date = { valueOf: function() { x += 3; return 4; } };
68 new Date(year, month, date, hours, minutes, seconds, ms);
70 assertEquals("1234567", x, "Date");
73 Date(year, month, date, hours, minutes, seconds, ms);
74 assertEquals("", x, "Date not constructor");
77 Date.UTC(year, month, date, hours, minutes, seconds, ms);
79 assertEquals("1234567", x, "Date.UTC")
    [all...]
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/
15.9.5.23-1.js 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time)
27 1. If the this value is not a Date object, generate a runtime error.
34 Date: 12 november 1997
40 var TITLE = "Date.prototype.setTime()";
44 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)");
57 // this daylight savings case fails -- need to fix date test functions
62 // this daylight savings case fails -- need to fix date test functions
73 DateCase = new Date();
75 DateCase = new Date( startTime );
79 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d"
    [all...]
15.9.5.23-10.js 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time)
27 1. If the this value is not a Date object, generate a runtime error.
34 Date: 12 november 1997
40 var TITLE = "Date.prototype.setTime()";
46 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)");
56 // this daylight savings case fails -- need to fix date test functions
61 // this daylight savings case fails -- need to fix date test functions
72 DateCase = new Date();
74 DateCase = new Date( startTime );
78 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d"
    [all...]
15.9.5.23-11.js 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time)
27 1. If the this value is not a Date object, generate a runtime error.
34 Date: 12 november 1997
40 var TITLE = "Date.prototype.setTime()";
42 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)");
55 // this daylight savings case fails -- need to fix date test functions
60 // this daylight savings case fails -- need to fix date test functions
71 DateCase = new Date();
73 DateCase = new Date( startTime );
77 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d"
    [all...]
15.9.5.23-12.js 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time)
27 1. If the this value is not a Date object, generate a runtime error.
34 Date: 12 november 1997
40 var TITLE = "Date.prototype.setTime()";
46 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)");
53 // this daylight savings case fails -- need to fix date test functions
58 // this daylight savings case fails -- need to fix date test functions
69 DateCase = new Date();
71 DateCase = new Date( startTime );
75 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d"
    [all...]
15.9.5.23-13.js 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time)
27 1. If the this value is not a Date object, generate a runtime error.
34 Date: 12 november 1997
40 var TITLE = "Date.prototype.setTime()";
43 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)");
55 // this daylight savings case fails -- need to fix date test functions
66 DateCase = new Date();
68 DateCase = new Date( startTime );
72 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ;
84 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() )
    [all...]
15.9.5.23-14.js 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time)
27 1. If the this value is not a Date object, generate a runtime error.
34 Date: 12 november 1997
40 var TITLE = "Date.prototype.setTime()";
43 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)");
53 // this daylight savings case fails -- need to fix date test functions
64 DateCase = new Date();
66 DateCase = new Date( startTime );
70 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ;
82 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() )
    [all...]
15.9.5.23-15.js 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time)
27 1. If the this value is not a Date object, generate a runtime error.
34 Date: 12 november 1997
40 var TITLE = "Date.prototype.setTime()";
42 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)");
60 DateCase = new Date();
62 DateCase = new Date( startTime );
66 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ;
78 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
87 testcases[item++] = new TestCase( SECTION, DateString+".getDate()", LocalDate.date, DateCase.getDate() )
    [all...]
15.9.5.23-16.js 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time)
27 1. If the this value is not a Date object, generate a runtime error.
34 Date: 12 november 1997
40 var TITLE = "Date.prototype.setTime()";
42 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)");
59 DateCase = new Date();
61 DateCase = new Date( startTime );
65 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ;
77 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
86 testcases[item++] = new TestCase( SECTION, DateString+".getDate()", LocalDate.date, DateCase.getDate() )
    [all...]
15.9.5.23-17.js 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time)
27 1. If the this value is not a Date object, generate a runtime error.
34 Date: 12 november 1997
40 var TITLE = "Date.prototype.setTime()";
42 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)");
58 DateCase = new Date();
60 DateCase = new Date( startTime );
64 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ;
76 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
85 testcases[item++] = new TestCase( SECTION, DateString+".getDate()", LocalDate.date, DateCase.getDate() )
    [all...]
15.9.5.23-18.js 24 ECMA Section: 15.9.5.23 Date.prototype.setTime(time)
27 1. If the this value is not a Date object, generate a runtime error.
34 Date: 12 november 1997
40 var TITLE = "Date.prototype.setTime()";
42 writeHeaderToLog( SECTION + " Date.prototype.setTime(time)");
55 DateCase = new Date();
57 DateCase = new Date( startTime );
61 var DateString = "var d = new Date("+startTime+"); d.setTime("+setTime+"); d" ;
73 testcases[item++] = new TestCase( SECTION, DateString+".getUTCDate()", UTCDate.date, DateCase.getUTCDate() );
82 testcases[item++] = new TestCase( SECTION, DateString+".getDate()", LocalDate.date, DateCase.getDate() )
    [all...]
15.9.5.25-1.js 24 ECMA Section: 15.9.5.25 Date.prototype.setUTCMilliseconds(ms)
33 Date: 12 november 1997
39 writeHeaderToLog( SECTION + " Date.prototype.setUTCMilliseconds(ms)");
60 addNewTestCase( 0, 0, "TDATE = new Date(0);(TDATE).setUTCMilliseconds(0);TDATE",
64 "TDATE = new Date(28800000);(TDATE).setUTCMilliseconds(999);TDATE",
68 "TDATE = new Date(28800000);(TDATE).setUTCMilliseconds(-28800000);TDATE",
72 "TDATE = new Date(946684800000);(TDATE).setUTCMilliseconds(1234567);TDATE",
76 "TDATE = new Date(946684800000);(TDATE).setUTCMilliseconds(123456789);TDATE",
81 "TDATE = new Date(-2208988800000);(TDATE).setUTCMilliseconds(123456789);TDATE",
86 "TDATE = new Date(-2208988800000);(TDATE).setUTCMilliseconds(123456);TDATE"
    [all...]
15.9.5.26-1.js 23 ECMA Section: 15.9.5.26 Date.prototype.setSeconds(sec [,ms])
40 Date: 12 november 1997
46 writeHeaderToLog( SECTION + " Date.prototype.setSeconds(sec [,ms] )");
68 "TDATE = new Date(0);(TDATE).setSeconds(0,0);TDATE",
73 "TDATE = new Date(28800000);(TDATE).setSeconds(59,999);TDATE",
78 "TDATE = new Date(28800000);(TDATE).setSeconds(999,999);TDATE",
83 "TDATE = new Date(28800000);(TDATE).setSeconds(999);TDATE",
88 "TDATE = new Date(28800000);(TDATE).setSeconds(-28800);TDATE",
93 "TDATE = new Date(946684800000);(TDATE).setSeconds(1234567);TDATE",
98 "TDATE = new Date(-2208988800000);(TDATE).setSeconds(59,999);TDATE"
    [all...]
15.9.5.27-1.js 24 ECMA Section: 15.9.5.27 Date.prototype.setUTCSeconds(sec [,ms])
40 Date: 12 november 1997
46 writeHeaderToLog( SECTION + " Date.prototype.setUTCSeconds(sec [,ms] )");
66 addNewTestCase( 0, 0, 0, "TDATE = new Date(0);(TDATE).setUTCSeconds(0,0);TDATE",
71 "TDATE = new Date(28800000);(TDATE).setUTCSeconds(59,999);TDATE",
76 "TDATE = new Date(28800000);(TDATE).setUTCSeconds(999,999);TDATE",
81 "TDATE = new Date(28800000);(TDATE).setUTCSeconds(999);TDATE",
86 "TDATE = new Date(28800000);(TDATE).setUTCSeconds(-28800);TDATE",
91 "TDATE = new Date(946684800000);(TDATE).setUTCSeconds(1234567);TDATE",
96 "TDATE = new Date(-2208988800000);(TDATE).setUTCSeconds(59,999);TDATE"
    [all...]
15.9.5.28-1.js 24 ECMA Section: 15.9.5.28 Date.prototype.setMinutes(min [, sec [, ms ]] )
42 Date: 12 november 1997
48 writeHeaderToLog( SECTION + " Date.prototype.setMinutes(sec [,ms] )");
69 "TDATE = new Date(0);(TDATE).setMinutes(0);TDATE",
74 "TDATE = new Date(28800000);(TDATE).setMinutes(59,59);TDATE",
79 "TDATE = new Date(28800000);(TDATE).setMinutes(59,59,999);TDATE",
84 "TDATE = new Date(28800000);(TDATE).setMinutes(59);TDATE",
89 "TDATE = new Date(28800000);(TDATE).setMinutes(-480);TDATE",
94 "TDATE = new Date(946684800000);(TDATE).setMinutes(1234567);TDATE",
99 "TDATE = new Date(-2208988800000);(TDATE).setMinutes(59,59);TDATE"
    [all...]

Completed in 1729 milliseconds

1 2 3 4 5 6 78 91011>>