HomeSort by relevance Sort by last modified time
    Searched refs:date (Results 151 - 175 of 579) sorted by null

1 2 3 4 5 67 8 91011>>

  /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...]
dtfmrgts.cpp 96 logln((UnicodeString)"today date: " + today);
98 logln("Error reparsing date: " + e.getMessage());
130 UDate dt = date(97, UCAL_MAY, 3, 8, 55);
231 UDate start = date(1809-1900, UCAL_DECEMBER, 25);
237 date(1809-1900, UCAL_DECEMBER, 25),
238 date(1909-1900, UCAL_DECEMBER, 24),
239 date(1809-1900, UCAL_DECEMBER, 26),
240 date(1861-1900, UCAL_DECEMBER, 25),
251 "091225", new Date(1809-1900, Calendar.DECEMBER, 25),
252 "091224", new Date(1909-1900, Calendar.DECEMBER, 24)
1271 int32_t date; member in class:Test1684Data
1447 UDate date = cal->getTime(status); local
    [all...]
  /sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/
DisplayLog.java 94 // get the date.
100 String date = String.format("%1$tF %1$tT", c); local
113 logValue(date, pidName, eventName, description.getName(), value,
116 logValue(date, pidName, eventName, description.getName(), e.getMessage(),
148 // get the date.
154 String date = String.format("%1$tF %1$tT", c); local
161 logDescriptor(event, descriptor, date, pidName, eventName, logParser);
164 // we display the event. Since the StringBuilder contains the header (date, event name,
181 * @param date
189 private void logValue(String date, String pid, String event, String valueName
    [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...]
15.9.5.29-1.js 24 ECMA Section: 15.9.5.29 Date.prototype.setUTCMinutes(min [, sec [, ms ]] )
44 Date: 12 november 1997
50 writeHeaderToLog( SECTION + " Date.prototype.setUTCMinutes( min [, sec, ms] )");
71 "TDATE = new Date(0);(TDATE).setUTCMinutes(0);TDATE",
76 "TDATE = new Date(28800000);(TDATE).setUTCMinutes(59,59);TDATE",
81 "TDATE = new Date(28800000);(TDATE).setUTCMinutes(59,59,999);TDATE",
86 "TDATE = new Date(28800000);(TDATE).setUTCMinutes(59);TDATE",
91 "TDATE = new Date(28800000);(TDATE).setUTCMinutes(-480);TDATE",
96 "TDATE = new Date(946684800000);(TDATE).setUTCMinutes(1234567);TDATE",
101 "TDATE = new Date(-2208988800000);(TDATE).setUTCMinutes(59,999);TDATE"
    [all...]
15.9.5.30-1.js 24 ECMA Section: 15.9.5.30 Date.prototype.setHours(hour [, min [, sec [, ms ]]] )
45 Date: 12 november 1997
51 writeHeaderToLog( SECTION + " Date.prototype.setHours( hour [, min, sec, ms] )");
72 "TDATE = new Date(0);(TDATE).setHours(0);TDATE" );
75 "TDATE = new Date(28800000);(TDATE).setHours(23,59,999);TDATE" );
78 "TDATE = new Date(28800000);(TDATE).setHours(999,999);TDATE" );
81 "TDATE = new Date(28800000);(TDATE).setHours(999);TDATE" );
84 "TDATE = new Date(28800000);(TDATE).setHours(-8);TDATE" );
87 "TDATE = new Date(946684800000);(TDATE).setHours(8760);TDATE" );
90 "d = new Date( " + (TIME_2000-msPerDay) +"); d.setHours(23,59,59,999)" )
    [all...]
15.9.5.31-1.js 24 ECMA Section: 15.9.5.31 Date.prototype.setUTCHours(hour [, min [, sec [, ms ]]] )
41 Date: 12 november 1997
47 writeHeaderToLog( SECTION + " Date.prototype.setUTCHours(hour [, min [, sec [, ms ]]] )");
68 "TDATE = new Date(0);(TDATE).setUTCHours(0);TDATE",
73 "TDATE = new Date(28800000);(TDATE).setUTCHours(23,59,999);TDATE",
78 "TDATE = new Date(28800000);(TDATE).setUTCHours(999,999);TDATE",
83 "TDATE = new Date(28800000);(TDATE).setUTCHours(999);TDATE",
88 "TDATE = new Date(28800000);(TDATE).setUTCHours(-8670);TDATE",
93 "TDATE = new Date(946684800000);(TDATE).setUTCHours(1234567);TDATE",
98 "TDATE = new Date(-2208988800000);(TDATE).setUTCHours(59,999);TDATE"
    [all...]
  /libcore/luni/src/main/java/java/text/
DateFormat.java 22 import java.util.Date;
30 * An abstract class for date/time formatting subclasses which formats and
31 * parses dates or time in a language-independent manner. The date/time
33 * (i.e., date -> text), parsing (text -> date), and normalization. The date is
34 * represented as a {@code Date} object or as the milliseconds since January 1,
37 * DateFormat provides many class methods for obtaining default date/time
47 * To format a date for the current Locale, use one of the static factory
90 * Use {@code getDateInstance} to get the normal date format for a country
624 Date date = parse(string, position); local
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
BasicClientCookie.java 4 * $Date: 2008-05-22 11:26:53 -0700 (Thu, 22 May 2008) $
34 import java.util.Date;
139 * Returns the expiration {@link Date} of the cookie, or <tt>null</tt>
144 * @return Expiration {@link Date}, or <tt>null</tt>.
146 * @see #setExpiryDate(java.util.Date)
149 public Date getExpiryDate() {
154 * Sets expiration date.
159 * @param expiryDate the {@link Date} after which this cookie is no longer valid.
164 public void setExpiryDate (Date expiryDate) {
291 * @param date Current tim
    [all...]

Completed in 193 milliseconds

1 2 3 4 5 67 8 91011>>